Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 110.6 kB / 17.04 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 193.8 kB / 17.98 MB, free: 4.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2873/0.2873, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 79.31 kB / 384.2 MB, free: 56.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1415, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003472/0.1451, allocations: 1.687 MB / 443.7 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.1463, allocations: 0.8 MB / 444.5 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.305e-05/0.1464, allocations: 4 kB / 444.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003188/0.1467, allocations: 43.77 kB / 444.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002299/0.147, allocations: 59.69 kB / 444.6 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.1472, allocations: 83.77 kB / 444.7 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.1474, allocations: 95.69 kB / 444.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.1475, allocations: 12.23 kB / 444.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.474e-05/0.1476, allocations: 39.78 kB / 444.8 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.949e-05/0.1477, allocations: 31.84 kB / 444.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.1477, allocations: 4 kB / 444.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.1478, allocations: 43.92 kB / 444.9 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.923e-05/0.1479, allocations: 15.94 kB / 444.9 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.672e-05/0.148, allocations: 39.72 kB / 444.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.1482, allocations: 115.6 kB / 445 MB, free: 3.066 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.1482, allocations: 0 / 445 MB, free: 3.066 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1482, allocations: 0 / 445 MB, free: 3.066 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.1482, allocations: 0 / 445 MB, free: 3.066 MB / 318.1 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.0006059/0.1488, allocations: 414.9 kB / 445.5 MB, free: 2.613 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.1489, allocations: 11.89 kB / 445.5 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.1489, allocations: 8.844 kB / 445.5 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.1492, allocations: 212.9 kB / 445.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.1492, allocations: 4.359 kB / 445.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.1492, allocations: 8.125 kB / 445.7 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.1494, allocations: 53.67 kB / 445.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1494, allocations: 0 / 445.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1494, allocations: 4 kB / 445.8 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.1494, allocations: 0 / 445.8 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.492e-05/0.1495, allocations: 19.98 kB / 445.8 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.1499, allocations: 292.7 kB / 446.1 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.1501, allocations: 54.69 kB / 446.1 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.155e-05/0.1502, allocations: 24.84 kB / 446.1 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.1502, allocations: 4 kB / 446.1 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.1504, allocations: 63.39 kB / 446.2 MB, free: 1.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1504, allocations: 3.938 kB / 446.2 MB, free: 1.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005964/0.151, allocations: 173.2 kB / 446.4 MB, free: 1.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.151, allocations: 51.41 kB / 446.4 MB, free: 1.508 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.1512, allocations: 198 kB / 446.6 MB, free: 1.305 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.1512, allocations: 29.7 kB / 446.6 MB, free: 1.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.1513, allocations: 96.14 kB / 446.7 MB, free: 1.172 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.1513, allocations: 23.7 kB / 446.8 MB, free: 1.148 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.1513, allocations: 21.72 kB / 446.8 MB, free: 1.121 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.486e-05/0.1514, allocations: 330.8 kB / 447.1 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.385e-05/0.1515, allocations: 19.98 kB / 447.1 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.716e-05/0.1515, allocations: 41.64 kB / 447.2 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.905e-05/0.1516, allocations: 58.08 kB / 447.2 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1517, allocations: 3.938 kB / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000158/0.1518, allocations: 101.6 kB / 447.3 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.1518, allocations: 5.25 kB / 447.3 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.1519, allocations: 4 kB / 447.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.1519, allocations: 4 kB / 447.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.152, allocations: 23.95 kB / 447.4 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.152, allocations: 0 / 447.4 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.886e-05/0.1521, allocations: 11.94 kB / 447.4 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.1521, allocations: 0 / 447.4 MB, free: 0.5039 MB / 318.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.381e-05/0.1522, allocations: 129.8 kB / 447.5 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.975e-05/0.1522, allocations: 15.75 kB / 447.5 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.689e-05/0.1523, allocations: 20.7 kB / 447.5 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1523, allocations: 3.984 kB / 447.5 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1523, allocations: 4 kB / 447.5 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1523, allocations: 7.938 kB / 447.6 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000426/0.1527, allocations: 387.3 kB / 447.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1527, allocations: 0 / 447.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.365e-05/0.1528, allocations: 8 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1528, allocations: 0 / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.1528, allocations: 11.94 kB / 447.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1528, allocations: 3.984 kB / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.1528, allocations: 0 / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.1531, allocations: 200.3 kB / 448.1 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.021e-05/0.1532, allocations: 89.02 kB / 448.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.1532, allocations: 3.938 kB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.616e-05/0.1533, allocations: 4 kB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.1533, allocations: 7.984 kB / 448.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.1534, allocations: 4 kB / 448.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.1535, allocations: 147.2 kB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1535, allocations: 0 / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000269/0.1538, allocations: 23.91 kB / 448.4 MB, free: 15.34 MB / 334.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) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001146/0.1549, allocations: 478.5 kB / 448.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001924/0.1551, allocations: 59.97 kB / 448.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1551, allocations: 0 / 448.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.197e-05/0.1552, allocations: 27.92 kB / 449 MB, free: 14.87 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.1556, allocations: 28.3 kB / 449 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000456/0.156, allocations: 219.3 kB / 449.2 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.1564, allocations: 0.7042 MB / 449.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.566e-05/0.1564, allocations: 12.88 kB / 449.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/0.1565, allocations: 23.42 kB / 450 MB, free: 13.83 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1565, allocations: 0 / 450 MB, free: 13.83 MB / 334.1 MB Notification: Performance of Templates: time 0.00458/0.161, allocations: 1.692 MB / 451.6 MB, free: 12.15 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches