Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001089/0.001089, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.777/1.777, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009727/0.0009727, allocations: 90.88 kB / 270.2 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2571/0.2571, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1325, allocations: 58.86 MB / 490.3 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4453/0.5778, allocations: 87.67 MB / 0.5644 GB, free: 12.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.5781, allocations: 80.02 kB / 0.5645 GB, free: 12.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02083/0.599, allocations: 5.282 MB / 0.5696 GB, free: 7.617 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.5991, allocations: 3.938 kB / 0.5696 GB, free: 7.613 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.5991, allocations: 0 / 0.5696 GB, free: 7.613 MB / 378.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.0007234/0.5998, allocations: 421.1 kB / 0.57 GB, free: 7.164 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/0.5999, allocations: 16.03 kB / 0.57 GB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.991e-05/0.6, allocations: 7.906 kB / 0.57 GB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.6003, allocations: 209.4 kB / 0.5702 GB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.6004, allocations: 4 kB / 0.5703 GB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.6004, allocations: 3.25 kB / 0.5703 GB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.6006, allocations: 56.42 kB / 0.5703 GB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.6007, allocations: 0 / 0.5703 GB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.6007, allocations: 0 / 0.5703 GB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.6007, allocations: 3.984 kB / 0.5703 GB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.6009, allocations: 26.36 kB / 0.5703 GB, free: 6.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005532/0.6014, allocations: 300.6 kB / 0.5706 GB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.6017, allocations: 57.48 kB / 0.5707 GB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.6017, allocations: 3.938 kB / 0.5707 GB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001984/0.6019, allocations: 70.33 kB / 0.5708 GB, free: 6.363 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.913e-06/0.6019, allocations: 0 / 0.5708 GB, free: 6.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007941/0.6027, allocations: 176.7 kB / 0.5709 GB, free: 6.219 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.6028, allocations: 59.36 kB / 0.571 GB, free: 6.148 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.6031, allocations: 171.9 kB / 0.5711 GB, free: 5.996 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.6031, allocations: 37.52 kB / 0.5712 GB, free: 5.957 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.953e-05/0.6032, allocations: 94.7 kB / 0.5713 GB, free: 5.871 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.394e-05/0.6033, allocations: 27.58 kB / 0.5713 GB, free: 5.848 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.6033, allocations: 4 kB / 0.5713 GB, free: 5.844 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.6035, allocations: 325.8 kB / 0.5716 GB, free: 5.523 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.644e-05/0.6036, allocations: 23.3 kB / 0.5716 GB, free: 5.508 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.687e-05/0.6037, allocations: 32.64 kB / 0.5717 GB, free: 5.477 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.041e-05/0.6038, allocations: 23.02 kB / 0.5717 GB, free: 5.465 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.6038, allocations: 0 / 0.5717 GB, free: 5.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002899/0.6041, allocations: 119.3 kB / 0.5718 GB, free: 5.359 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.6041, allocations: 4 kB / 0.5718 GB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.6041, allocations: 0 / 0.5718 GB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.6042, allocations: 4 kB / 0.5718 GB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.6043, allocations: 15.98 kB / 0.5718 GB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.6043, allocations: 0 / 0.5718 GB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.067e-05/0.6044, allocations: 8.141 kB / 0.5718 GB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.6044, allocations: 7.688 kB / 0.5718 GB, free: 5.324 MB / 378.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 0.0001684/0.6046, allocations: 133 kB / 0.572 GB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.6047, allocations: 11.94 kB / 0.572 GB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000358/0.605, allocations: 119.1 kB / 0.5721 GB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.6051, allocations: 3.984 kB / 0.5721 GB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.679e-05/0.6051, allocations: 4 kB / 0.5721 GB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.6051, allocations: 0 / 0.5721 GB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006883/0.6058, allocations: 417.6 kB / 0.5725 GB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6058, allocations: 0 / 0.5725 GB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.635e-05/0.6059, allocations: 16.02 kB / 0.5725 GB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.6059, allocations: 0 / 0.5725 GB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.6059, allocations: 4 kB / 0.5725 GB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.6059, allocations: 3.953 kB / 0.5725 GB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.6059, allocations: 0 / 0.5725 GB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.6063, allocations: 219.5 kB / 0.5727 GB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.585e-05/0.6064, allocations: 97.28 kB / 0.5728 GB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.874e-05/0.6065, allocations: 11.2 kB / 0.5728 GB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.6066, allocations: 8 kB / 0.5728 GB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.335e-05/0.6067, allocations: 11.55 kB / 0.5728 GB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.6067, allocations: 0 / 0.5728 GB, free: 4.262 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001999/0.6069, allocations: 144.4 kB / 0.573 GB, free: 4.137 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6069, allocations: 0 / 0.573 GB, free: 4.137 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003974/0.6074, allocations: 31.5 kB / 0.573 GB, free: 4.109 MB / 378.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 (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.00153/0.6089, allocations: 484.3 kB / 0.5735 GB, free: 3.699 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002703/0.6092, allocations: 58.73 kB / 0.5735 GB, free: 3.656 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6092, allocations: 64 / 0.5735 GB, free: 3.656 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.6093, allocations: 39.86 kB / 0.5736 GB, free: 3.625 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.6097, allocations: 24.91 kB / 0.5736 GB, free: 3.605 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007285/0.6105, allocations: 243.7 kB / 0.5738 GB, free: 3.348 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005002/0.611, allocations: 0.7121 MB / 0.5745 GB, free: 2.609 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.308e-05/0.6111, allocations: 12.55 kB / 0.5745 GB, free: 2.598 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.939e-05/0.6112, allocations: 15.44 kB / 0.5745 GB, free: 2.582 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.6112, allocations: 0 / 0.5745 GB, free: 2.582 MB / 378.7 MB Notification: Performance of Templates: time 0.006875/0.6181, allocations: 1.679 MB / 0.5762 GB, free: 0.9219 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches