Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001992/0.001992, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009493/0.0009494, allocations: 82.62 kB / 261.7 MB, free: 1.684 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.2047/0.2047, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.968e-05/1.971e-05, allocations: 8 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.137, allocations: 58.86 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4479/0.585, allocations: 86.96 MB / 0.5509 GB, free: 7.992 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/0.5852, allocations: 73.39 kB / 0.5509 GB, free: 7.957 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01275/0.598, allocations: 5.514 MB / 0.5563 GB, free: 3.574 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.598, allocations: 0 / 0.5563 GB, free: 3.574 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.5981, allocations: 7.938 kB / 0.5563 GB, free: 3.566 MB / 362.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.0003612/0.5984, allocations: 402.1 kB / 0.5567 GB, free: 3.137 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.5985, allocations: 8.031 kB / 0.5567 GB, free: 3.129 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.5985, allocations: 15.81 kB / 0.5567 GB, free: 3.113 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.5988, allocations: 216.8 kB / 0.5569 GB, free: 2.871 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.5988, allocations: 4 kB / 0.5569 GB, free: 2.867 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.5988, allocations: 3.438 kB / 0.5569 GB, free: 2.867 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.862e-05/0.5989, allocations: 23.86 kB / 0.557 GB, free: 2.848 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.225e-05/0.599, allocations: 56.42 kB / 0.557 GB, free: 2.793 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.599, allocations: 7.844 kB / 0.557 GB, free: 2.785 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.5991, allocations: 0 / 0.557 GB, free: 2.785 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.5991, allocations: 0 / 0.557 GB, free: 2.785 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003122/0.5994, allocations: 270.3 kB / 0.5573 GB, free: 2.504 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.997e-05/0.5995, allocations: 53.12 kB / 0.5573 GB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.147e-05/0.5995, allocations: 20.73 kB / 0.5574 GB, free: 2.434 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.5995, allocations: 7.984 kB / 0.5574 GB, free: 2.426 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.806e-05/0.5996, allocations: 58.53 kB / 0.5574 GB, free: 2.363 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.5997, allocations: 0 / 0.5574 GB, free: 2.363 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003928/0.6001, allocations: 154.8 kB / 0.5576 GB, free: 2.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.05e-05/0.6001, allocations: 59.09 kB / 0.5576 GB, free: 2.164 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.6003, allocations: 198.8 kB / 0.5578 GB, free: 1.984 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.6003, allocations: 33.7 kB / 0.5578 GB, free: 1.945 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.627e-05/0.6003, allocations: 102.5 kB / 0.5579 GB, free: 1.855 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.6003, allocations: 23.09 kB / 0.558 GB, free: 1.836 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.6003, allocations: 0 / 0.558 GB, free: 1.836 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.632e-05/0.6004, allocations: 325.7 kB / 0.5583 GB, free: 1.516 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.943e-05/0.6004, allocations: 23.8 kB / 0.5583 GB, free: 1.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.557e-05/0.6005, allocations: 28.78 kB / 0.5583 GB, free: 1.473 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.588e-05/0.6005, allocations: 22.92 kB / 0.5583 GB, free: 1.457 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.6005, allocations: 4 kB / 0.5584 GB, free: 1.453 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001122/0.6007, allocations: 87.34 kB / 0.5584 GB, free: 1.375 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.6007, allocations: 8 kB / 0.5584 GB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.6007, allocations: 192 / 0.5584 GB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.6007, allocations: 0 / 0.5584 GB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.277e-05/0.6008, allocations: 19.98 kB / 0.5585 GB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.6008, allocations: 4 kB / 0.5585 GB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.29e-05/0.6009, allocations: 0 / 0.5585 GB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.6009, allocations: 7.953 kB / 0.5585 GB, free: 1.336 MB / 362.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 () * 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 6.092e-05/0.6009, allocations: 118 kB / 0.5586 GB, free: 1.219 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.891e-05/0.601, allocations: 11.81 kB / 0.5586 GB, free: 1.207 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.6012, allocations: 117 kB / 0.5587 GB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.6012, allocations: 0 / 0.5587 GB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.6012, allocations: 96 / 0.5587 GB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.6012, allocations: 3.938 kB / 0.5587 GB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002976/0.6015, allocations: 394.6 kB / 0.5591 GB, free: 0.7109 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.6015, allocations: 4 kB / 0.5591 GB, free: 0.707 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.848e-05/0.6015, allocations: 11.94 kB / 0.5591 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.6016, allocations: 0 / 0.5591 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.6016, allocations: 3.75 kB / 0.5591 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.6016, allocations: 4 kB / 0.5591 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.6016, allocations: 3.984 kB / 0.5591 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.6017, allocations: 215.4 kB / 0.5593 GB, free: 480 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.935e-05/0.6018, allocations: 92.92 kB / 0.5594 GB, free: 368 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.6018, allocations: 4 kB / 0.5594 GB, free: 364 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.26e-05/0.6019, allocations: 3.984 kB / 0.5594 GB, free: 360 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.6019, allocations: 19.69 kB / 0.5594 GB, free: 344 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.602, allocations: 4 kB / 0.5594 GB, free: 340 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001017/0.6021, allocations: 159.9 kB / 0.5596 GB, free: 204 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6021, allocations: 0 / 0.5596 GB, free: 204 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002422/0.6023, allocations: 35.31 kB / 0.5596 GB, free: 172 kB / 362.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0008872/0.6032, allocations: 388.8 kB / 0.56 GB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001307/0.6034, allocations: 59.19 kB / 0.5601 GB, free: 15.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6034, allocations: 0 / 0.5601 GB, free: 15.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.323e-05/0.6034, allocations: 28.81 kB / 0.5601 GB, free: 15.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.6037, allocations: 23.66 kB / 0.5601 GB, free: 15.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003879/0.6041, allocations: 180.3 kB / 0.5603 GB, free: 15.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.6045, allocations: 0.7233 MB / 0.561 GB, free: 14.83 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.861e-05/0.6045, allocations: 20.84 kB / 0.561 GB, free: 14.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.159e-05/0.6046, allocations: 19.44 kB / 0.561 GB, free: 14.79 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6046, allocations: 0 / 0.561 GB, free: 14.79 MB / 378.7 MB Notification: Performance of Templates: time 0.00431/0.6089, allocations: 1.677 MB / 0.5627 GB, free: 13.13 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches