Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009655/0.0009655, allocations: 200.5 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.255/1.255, allocations: 226.6 MB / 243.1 MB, free: 14.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007532/0.0007532, allocations: 96.73 kB / 295.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1909/0.1909, allocations: 44.84 MB / 392 MB, free: 9.316 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002726/0.0002727, allocations: 15.98 kB / 464.8 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09168/0.09197, allocations: 62.95 MB / 0.5153 GB, free: 2.777 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.00175/0.09375, allocations: 1.428 MB / 0.5167 GB, free: 1.332 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.09501, allocations: 0.9441 MB / 0.5176 GB, free: 392 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.377e-05/0.09509, allocations: 3.938 kB / 0.5177 GB, free: 388 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002285/0.09532, allocations: 43.89 kB / 0.5177 GB, free: 344 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002027/0.09554, allocations: 67.75 kB / 0.5178 GB, free: 276 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.09578, allocations: 98.5 kB / 0.5179 GB, free: 180 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.09592, allocations: 91.7 kB / 0.5179 GB, free: 88 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.788e-05/0.096, allocations: 7.984 kB / 0.5179 GB, free: 80 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.481e-05/0.09608, allocations: 39.8 kB / 0.518 GB, free: 40 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.833e-05/0.09617, allocations: 31.84 kB / 0.518 GB, free: 8 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.09619, allocations: 7.938 kB / 0.518 GB, free: 0 / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1751/0.2713, allocations: 32.2 kB / 0.5181 GB, free: 9.828 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.018e-05/0.2714, allocations: 16.67 kB / 0.5181 GB, free: 9.828 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.722e-05/0.2715, allocations: 39.05 kB / 0.5181 GB, free: 9.797 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.2717, allocations: 90.61 kB / 0.5182 GB, free: 9.797 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.2717, allocations: 0 / 0.5182 GB, free: 9.797 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2717, allocations: 0 / 0.5182 GB, free: 9.797 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.2717, allocations: 0.625 kB / 0.5182 GB, free: 9.797 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004606/0.2722, allocations: 411.3 kB / 0.5186 GB, free: 9.414 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.2722, allocations: 9.891 kB / 0.5186 GB, free: 9.414 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.2723, allocations: 9.656 kB / 0.5186 GB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.2725, allocations: 214.2 kB / 0.5188 GB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.2725, allocations: 4.922 kB / 0.5188 GB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.2725, allocations: 4 kB / 0.5188 GB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.2727, allocations: 52.36 kB / 0.5189 GB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.2727, allocations: 7.938 kB / 0.5189 GB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.2727, allocations: 2.422 kB / 0.5189 GB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.2727, allocations: 1.5 kB / 0.5189 GB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.268e-05/0.2728, allocations: 18.91 kB / 0.5189 GB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002985/0.2731, allocations: 288.6 kB / 0.5192 GB, free: 8.898 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.2733, allocations: 61.45 kB / 0.5192 GB, free: 8.875 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.135e-05/0.2733, allocations: 23.94 kB / 0.5193 GB, free: 8.867 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.2734, allocations: 1.125 kB / 0.5193 GB, free: 8.867 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.2735, allocations: 64.08 kB / 0.5193 GB, free: 8.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.2735, allocations: 1.625 kB / 0.5193 GB, free: 8.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005236/0.2741, allocations: 174.7 kB / 0.5195 GB, free: 8.773 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.2741, allocations: 53.75 kB / 0.5195 GB, free: 8.711 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.2743, allocations: 218.9 kB / 0.5197 GB, free: 8.602 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.2743, allocations: 28.98 kB / 0.5198 GB, free: 8.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.401e-05/0.2744, allocations: 107 kB / 0.5199 GB, free: 8.484 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.2744, allocations: 29.58 kB / 0.5199 GB, free: 8.469 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-06/0.2744, allocations: 1.75 kB / 0.5199 GB, free: 8.469 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.737e-05/0.2745, allocations: 325 kB / 0.5202 GB, free: 8.156 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.488e-05/0.2745, allocations: 20.33 kB / 0.5202 GB, free: 8.156 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.841e-05/0.2746, allocations: 36.77 kB / 0.5203 GB, free: 8.141 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.769e-05/0.2747, allocations: 20 kB / 0.5203 GB, free: 8.141 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2747, allocations: 5 kB / 0.5203 GB, free: 8.137 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001807/0.2749, allocations: 104.8 kB / 0.5204 GB, free: 8.098 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.2749, allocations: 6.344 kB / 0.5204 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.2749, allocations: 1.031 kB / 0.5204 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.2749, allocations: 0.9688 kB / 0.5204 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.698e-05/0.275, allocations: 17.47 kB / 0.5204 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.275, allocations: 1.594 kB / 0.5204 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.777e-05/0.2751, allocations: 4.453 kB / 0.5204 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.2751, allocations: 11.83 kB / 0.5204 GB, free: 8.094 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.262e-05/0.2752, allocations: 129.5 kB / 0.5206 GB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.2752, allocations: 15.67 kB / 0.5206 GB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.066e-05/0.2752, allocations: 18.08 kB / 0.5206 GB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2752, allocations: 1.094 kB / 0.5206 GB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2752, allocations: 3.734 kB / 0.5206 GB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2752, allocations: 0.7969 kB / 0.5206 GB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003621/0.2756, allocations: 401.9 kB / 0.521 GB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.2756, allocations: 1.156 kB / 0.521 GB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.318e-05/0.2757, allocations: 12.58 kB / 0.521 GB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2757, allocations: 1.156 kB / 0.521 GB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-06/0.2757, allocations: 2.688 kB / 0.521 GB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2757, allocations: 0.7188 kB / 0.521 GB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.2757, allocations: 6.203 kB / 0.521 GB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.2759, allocations: 208.4 kB / 0.5212 GB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.977e-05/0.2759, allocations: 90.42 kB / 0.5213 GB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.276, allocations: 3.391 kB / 0.5213 GB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.114e-05/0.276, allocations: 3.516 kB / 0.5213 GB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.2761, allocations: 12.56 kB / 0.5213 GB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.2761, allocations: 5.047 kB / 0.5213 GB, free: 7.406 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001283/0.2762, allocations: 153.5 kB / 0.5215 GB, free: 7.332 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2762, allocations: 0 / 0.5215 GB, free: 7.332 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002429/0.2765, allocations: 22.25 kB / 0.5215 GB, free: 7.332 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009111/0.2774, allocations: 469.1 kB / 0.5219 GB, free: 7.109 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.2776, allocations: 58.27 kB / 0.522 GB, free: 7.109 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2776, allocations: 4.062 kB / 0.522 GB, free: 7.105 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.815e-05/0.2777, allocations: 34.52 kB / 0.522 GB, free: 7.105 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.278, allocations: 31.3 kB / 0.522 GB, free: 7.098 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004307/0.2785, allocations: 289.2 kB / 0.5223 GB, free: 6.891 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.2786, allocations: 0.7131 MB / 0.523 GB, free: 6.191 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/0.2787, allocations: 16.89 kB / 0.523 GB, free: 6.184 MB / 346.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2787, allocations: 0 / 0.523 GB, free: 6.184 MB / 346.7 MB Notification: Performance of Templates: time 0.003756/0.2824, allocations: 1.955 MB / 0.5249 GB, free: 5.992 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test24 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches