Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002091/0.002091, allocations: 178 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.031/2.031, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001743/0.001743, allocations: 93.83 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2902/0.2902, allocations: 43.48 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.558e-05/2.557e-05, allocations: 8.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4428/0.4429, allocations: 58.85 MB / 477.1 MB, free: 5.285 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1616/0.6045, allocations: 87.19 MB / 0.5511 GB, free: 12.12 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/0.6049, allocations: 75.95 kB / 0.5511 GB, free: 12.05 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02622/0.6311, allocations: 5.885 MB / 0.5569 GB, free: 6.168 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6312, allocations: 4 kB / 0.5569 GB, free: 6.164 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.669e-05/0.6312, allocations: 4 kB / 0.5569 GB, free: 6.16 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005881/0.6318, allocations: 386.2 kB / 0.5573 GB, free: 5.738 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.6318, allocations: 8.031 kB / 0.5573 GB, free: 5.73 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.419e-05/0.6319, allocations: 7.906 kB / 0.5573 GB, free: 5.723 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004323/0.6324, allocations: 215.4 kB / 0.5575 GB, free: 5.469 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.6324, allocations: 3.938 kB / 0.5575 GB, free: 5.465 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.6324, allocations: 11.98 kB / 0.5575 GB, free: 5.453 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001318/0.6326, allocations: 27.97 kB / 0.5575 GB, free: 5.426 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.6328, allocations: 79.31 kB / 0.5576 GB, free: 5.336 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.6328, allocations: 0 / 0.5576 GB, free: 5.336 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.6328, allocations: 0 / 0.5576 GB, free: 5.336 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.6328, allocations: 4 kB / 0.5576 GB, free: 5.332 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.6333, allocations: 277.3 kB / 0.5579 GB, free: 5.023 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.6336, allocations: 70.67 kB / 0.5579 GB, free: 4.945 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.906e-05/0.6337, allocations: 20.98 kB / 0.5579 GB, free: 4.922 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.6337, allocations: 4 kB / 0.5579 GB, free: 4.918 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001788/0.6339, allocations: 71.33 kB / 0.558 GB, free: 4.836 MB / 395.1 MB Notification: Performance of pre-optimization done (n=7): time 1.913e-06/0.6339, allocations: 0 / 0.558 GB, free: 4.836 MB / 395.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006782/0.6346, allocations: 169.4 kB / 0.5582 GB, free: 4.664 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/0.6347, allocations: 81.11 kB / 0.5583 GB, free: 4.566 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.6349, allocations: 151.2 kB / 0.5584 GB, free: 4.406 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.6349, allocations: 25.7 kB / 0.5584 GB, free: 4.375 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.845e-05/0.635, allocations: 170.4 kB / 0.5586 GB, free: 4.207 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.404e-05/0.6351, allocations: 23.7 kB / 0.5586 GB, free: 4.184 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-06/0.6351, allocations: 0 / 0.5586 GB, free: 4.184 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.6352, allocations: 310.8 kB / 0.5589 GB, free: 3.871 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.086e-05/0.6353, allocations: 24 kB / 0.5589 GB, free: 3.848 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9e-05/0.6354, allocations: 46.56 kB / 0.559 GB, free: 3.793 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.629e-05/0.6355, allocations: 32.02 kB / 0.559 GB, free: 3.762 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.6356, allocations: 0 / 0.559 GB, free: 3.762 MB / 395.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002545/0.6358, allocations: 101.6 kB / 0.5591 GB, free: 3.656 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.6359, allocations: 4 kB / 0.5591 GB, free: 3.652 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.6359, allocations: 3.938 kB / 0.5591 GB, free: 3.648 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.6359, allocations: 7.984 kB / 0.5591 GB, free: 3.641 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.6361, allocations: 20.05 kB / 0.5591 GB, free: 3.621 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.6361, allocations: 4 kB / 0.5591 GB, free: 3.617 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.91e-05/0.6362, allocations: 7.891 kB / 0.5591 GB, free: 3.609 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.6362, allocations: 4 kB / 0.5592 GB, free: 3.605 MB / 395.1 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 (11): * Single equations (assignments): 11 * 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.0001212/0.6364, allocations: 105 kB / 0.5593 GB, free: 3.496 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/0.6364, allocations: 11.81 kB / 0.5593 GB, free: 3.484 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003643/0.6368, allocations: 134.1 kB / 0.5594 GB, free: 3.344 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.6368, allocations: 0 / 0.5594 GB, free: 3.344 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6368, allocations: 4 kB / 0.5594 GB, free: 3.34 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.6368, allocations: 0 / 0.5594 GB, free: 3.34 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006557/0.6375, allocations: 395.8 kB / 0.5598 GB, free: 2.906 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.6375, allocations: 0 / 0.5598 GB, free: 2.906 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.415e-05/0.6376, allocations: 12 kB / 0.5598 GB, free: 2.895 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.6376, allocations: 3.984 kB / 0.5598 GB, free: 2.891 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.6377, allocations: 4 kB / 0.5598 GB, free: 2.887 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.6377, allocations: 3.938 kB / 0.5598 GB, free: 2.883 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.6377, allocations: 4.031 kB / 0.5598 GB, free: 2.879 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.638, allocations: 233.8 kB / 0.56 GB, free: 2.625 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.268e-05/0.6381, allocations: 89 kB / 0.5601 GB, free: 2.52 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.6382, allocations: 0 / 0.5601 GB, free: 2.52 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.6383, allocations: 4 kB / 0.5601 GB, free: 2.516 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.555e-05/0.6384, allocations: 20.12 kB / 0.5601 GB, free: 2.496 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.6384, allocations: 4 kB / 0.5601 GB, free: 2.492 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001408/0.6386, allocations: 132.4 kB / 0.5603 GB, free: 2.363 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6386, allocations: 0 / 0.5603 GB, free: 2.363 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.000404/0.639, allocations: 32 kB / 0.5603 GB, free: 2.332 MB / 395.1 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 (11): * Single equations (assignments): 9 * 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.001285/0.6403, allocations: 450.7 kB / 0.5607 GB, free: 1.93 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002618/0.6406, allocations: 63.94 kB / 0.5608 GB, free: 1.867 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6406, allocations: 0 / 0.5608 GB, free: 1.867 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.6407, allocations: 43.92 kB / 0.5608 GB, free: 1.824 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.6411, allocations: 23.84 kB / 0.5608 GB, free: 1.801 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004946/0.6416, allocations: 172 kB / 0.561 GB, free: 1.598 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.642, allocations: 0.712 MB / 0.5617 GB, free: 0.8594 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.177e-05/0.6421, allocations: 19.8 kB / 0.5617 GB, free: 0.8398 MB / 395.1 MB Notification: Performance of SimCode: time 8.21e-07/0.6421, allocations: 0 / 0.5617 GB, free: 0.8398 MB / 395.1 MB Notification: Performance of Templates: time 0.007481/0.6496, allocations: 2.186 MB / 0.5639 GB, free: 14.66 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches