Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002032/0.002041, allocations: 172.2 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.763/1.763, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007515/0.0007516, allocations: 96.02 kB / 271.3 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4306/0.4306, allocations: 43.56 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003793/0.0003794, allocations: 16 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1299, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3485/0.4785, allocations: 87.55 MB / 0.5655 GB, free: 14.46 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.4788, allocations: 75.97 kB / 0.5655 GB, free: 14.39 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01437/0.4931, allocations: 5.124 MB / 0.5705 GB, free: 9.309 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4932, allocations: 0 / 0.5705 GB, free: 9.309 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.4932, allocations: 4 kB / 0.5705 GB, free: 9.305 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000465/0.4937, allocations: 402.1 kB / 0.5709 GB, free: 8.863 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.996e-05/0.4937, allocations: 12.03 kB / 0.5709 GB, free: 8.852 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.4938, allocations: 8.844 kB / 0.5709 GB, free: 8.844 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.4941, allocations: 214.8 kB / 0.5711 GB, free: 8.598 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.4941, allocations: 384 / 0.5711 GB, free: 8.598 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.4941, allocations: 4.375 kB / 0.5712 GB, free: 8.594 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.4943, allocations: 54.17 kB / 0.5712 GB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.4943, allocations: 192 / 0.5712 GB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.4943, allocations: 11.94 kB / 0.5712 GB, free: 8.523 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.4943, allocations: 0 / 0.5712 GB, free: 8.523 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.66e-05/0.4944, allocations: 15.98 kB / 0.5712 GB, free: 8.508 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002052/0.4946, allocations: 177.7 kB / 0.5714 GB, free: 8.285 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.4948, allocations: 58.59 kB / 0.5715 GB, free: 8.219 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.632e-05/0.4948, allocations: 20.84 kB / 0.5715 GB, free: 8.195 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.4949, allocations: 7.938 kB / 0.5715 GB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.495, allocations: 64.27 kB / 0.5715 GB, free: 8.113 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.495, allocations: 0 / 0.5715 GB, free: 8.113 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003086/0.4953, allocations: 101.5 kB / 0.5716 GB, free: 8.008 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.4954, allocations: 51.41 kB / 0.5717 GB, free: 7.945 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.4956, allocations: 170.2 kB / 0.5719 GB, free: 7.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.4956, allocations: 25.7 kB / 0.5719 GB, free: 7.738 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.215e-05/0.4957, allocations: 108.1 kB / 0.572 GB, free: 7.629 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.4958, allocations: 19.69 kB / 0.572 GB, free: 7.609 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.4958, allocations: 0 / 0.572 GB, free: 7.609 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.496, allocations: 326.8 kB / 0.5723 GB, free: 7.281 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.99e-05/0.496, allocations: 15.98 kB / 0.5723 GB, free: 7.266 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.483e-05/0.4961, allocations: 25.72 kB / 0.5724 GB, free: 7.234 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.4962, allocations: 49.95 kB / 0.5724 GB, free: 7.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4962, allocations: 0 / 0.5724 GB, free: 7.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001702/0.4964, allocations: 85.52 kB / 0.5725 GB, free: 7.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.4964, allocations: 10.44 kB / 0.5725 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.4964, allocations: 0 / 0.5725 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.4964, allocations: 0 / 0.5725 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.719e-05/0.4965, allocations: 16.75 kB / 0.5725 GB, free: 7.066 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.4965, allocations: 160 / 0.5725 GB, free: 7.066 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.777e-05/0.4966, allocations: 11.89 kB / 0.5725 GB, free: 7.055 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.4966, allocations: 8.016 kB / 0.5725 GB, free: 7.047 MB / 394.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 (7): * Single equations (assignments): 7 * 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 9.934e-05/0.4967, allocations: 124.3 kB / 0.5726 GB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.4967, allocations: 11.84 kB / 0.5727 GB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.497, allocations: 97.97 kB / 0.5728 GB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.497, allocations: 0 / 0.5728 GB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.497, allocations: 3.938 kB / 0.5728 GB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.497, allocations: 0 / 0.5728 GB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.4972, allocations: 189.6 kB / 0.5729 GB, free: 6.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4972, allocations: 4 kB / 0.5729 GB, free: 6.566 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.551e-05/0.4972, allocations: 4 kB / 0.5729 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.4972, allocations: 3.938 kB / 0.5729 GB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.4972, allocations: 4 kB / 0.5729 GB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4973, allocations: 3.938 kB / 0.573 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4973, allocations: 0 / 0.573 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.4974, allocations: 113 kB / 0.5731 GB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-05/0.4975, allocations: 85.02 kB / 0.5731 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.4976, allocations: 12.12 kB / 0.5732 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.876e-05/0.4976, allocations: 8 kB / 0.5732 GB, free: 6.301 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.4976, allocations: 7.984 kB / 0.5732 GB, free: 6.293 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.4977, allocations: 0 / 0.5732 GB, free: 6.293 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000124/0.4978, allocations: 133.5 kB / 0.5733 GB, free: 6.164 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.154e-06/0.4978, allocations: 4 kB / 0.5733 GB, free: 6.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002082/0.498, allocations: 27.88 kB / 0.5733 GB, free: 6.133 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0009046/0.4989, allocations: 420.2 kB / 0.5737 GB, free: 5.809 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001441/0.4991, allocations: 39.98 kB / 0.5738 GB, free: 5.77 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4991, allocations: 0 / 0.5738 GB, free: 5.77 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.102e-05/0.4992, allocations: 23.98 kB / 0.5738 GB, free: 5.746 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.4994, allocations: 29.38 kB / 0.5738 GB, free: 5.719 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004122/0.4999, allocations: 211.3 kB / 0.574 GB, free: 5.492 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.5002, allocations: 0.6965 MB / 0.5747 GB, free: 4.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.331e-05/0.5003, allocations: 20.42 kB / 0.5747 GB, free: 4.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.643e-05/0.5003, allocations: 11.44 kB / 0.5747 GB, free: 4.738 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5003, allocations: 0 / 0.5747 GB, free: 4.738 MB / 394.7 MB Notification: Performance of Templates: time 0.003768/0.5041, allocations: 1.453 MB / 0.5761 GB, free: 3.293 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches