Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002784/0.002791, allocations: 188.6 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.127/2.127, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001112/0.001112, allocations: 86.88 kB / 270.9 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.3093/0.3093, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006492/0.0006494, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1261, allocations: 58.85 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003024/0.1292, allocations: 1.584 MB / 491.8 MB, free: 7.746 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.1312, allocations: 0.7655 MB / 492.6 MB, free: 6.973 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.1314, allocations: 0 / 492.6 MB, free: 6.973 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003274/0.1318, allocations: 39.77 kB / 492.6 MB, free: 6.934 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.132, allocations: 43.88 kB / 492.6 MB, free: 6.891 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004527/0.1325, allocations: 91.77 kB / 492.7 MB, free: 6.801 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002645/0.1328, allocations: 87.77 kB / 492.8 MB, free: 6.715 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.133, allocations: 33.47 kB / 492.9 MB, free: 6.676 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.1331, allocations: 47.77 kB / 492.9 MB, free: 6.629 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.1332, allocations: 31.8 kB / 492.9 MB, free: 6.598 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.1333, allocations: 4 kB / 492.9 MB, free: 6.594 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.1334, allocations: 35.91 kB / 493 MB, free: 6.559 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.372e-05/0.1335, allocations: 15.92 kB / 493 MB, free: 6.543 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.67e-05/0.1336, allocations: 49.64 kB / 493 MB, free: 6.488 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.1338, allocations: 104 kB / 493.1 MB, free: 6.387 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1339, allocations: 0 / 493.1 MB, free: 6.387 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1339, allocations: 3.938 kB / 493.1 MB, free: 6.383 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.1339, allocations: 0 / 493.1 MB, free: 6.383 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007988/0.1347, allocations: 456.5 kB / 493.6 MB, free: 5.883 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.1348, allocations: 8.031 kB / 493.6 MB, free: 5.875 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.204e-05/0.1349, allocations: 27.77 kB / 493.6 MB, free: 5.848 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003959/0.1353, allocations: 218.8 kB / 493.8 MB, free: 5.594 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.1353, allocations: 4 kB / 493.8 MB, free: 5.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.1353, allocations: 11.94 kB / 493.8 MB, free: 5.578 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003683/0.1357, allocations: 104 kB / 494 MB, free: 5.465 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1358, allocations: 7.938 kB / 494 MB, free: 5.457 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.1358, allocations: 4 kB / 494 MB, free: 5.453 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.1358, allocations: 4 kB / 494 MB, free: 5.449 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/0.1361, allocations: 55.86 kB / 494 MB, free: 5.395 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009448/0.1371, allocations: 0.5049 MB / 494.5 MB, free: 4.832 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005083/0.1376, allocations: 90.58 kB / 494.6 MB, free: 4.734 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.511e-05/0.1377, allocations: 12.09 kB / 494.6 MB, free: 4.723 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003498/0.138, allocations: 91.31 kB / 494.7 MB, free: 4.621 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.946e-06/0.1381, allocations: 0 / 494.7 MB, free: 4.621 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006467/0.1387, allocations: 145.4 kB / 494.9 MB, free: 4.473 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.1388, allocations: 55.41 kB / 494.9 MB, free: 4.406 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/0.1391, allocations: 191.5 kB / 495.1 MB, free: 4.207 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.1391, allocations: 25.7 kB / 495.1 MB, free: 4.176 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.1393, allocations: 174.4 kB / 495.3 MB, free: 4.004 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/0.1393, allocations: 27.64 kB / 495.3 MB, free: 3.977 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.503e-05/0.1393, allocations: 8 kB / 495.3 MB, free: 3.969 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1395, allocations: 310.8 kB / 495.6 MB, free: 3.656 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.1396, allocations: 27.98 kB / 495.7 MB, free: 3.629 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.1398, allocations: 72.27 kB / 495.7 MB, free: 3.543 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.14, allocations: 39.92 kB / 495.8 MB, free: 3.504 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.14, allocations: 0 / 495.8 MB, free: 3.504 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004497/0.1405, allocations: 141.7 kB / 495.9 MB, free: 3.359 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1405, allocations: 4 kB / 495.9 MB, free: 3.355 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.1405, allocations: 0 / 495.9 MB, free: 3.355 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.1406, allocations: 4 kB / 495.9 MB, free: 3.352 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.1408, allocations: 23.98 kB / 495.9 MB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.1408, allocations: 0 / 495.9 MB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.1409, allocations: 20.06 kB / 496 MB, free: 3.309 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.141, allocations: 4 kB / 496 MB, free: 3.305 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001622/0.1411, allocations: 136.4 kB / 496.1 MB, free: 3.164 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/0.1412, allocations: 23.7 kB / 496.1 MB, free: 3.141 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.244e-05/0.1412, allocations: 13.41 kB / 496.1 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1413, allocations: 0 / 496.1 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.1413, allocations: 3.984 kB / 496.1 MB, free: 3.121 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1413, allocations: 0 / 496.1 MB, free: 3.121 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.1416, allocations: 205.6 kB / 496.3 MB, free: 2.871 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.1416, allocations: 8 kB / 496.3 MB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.1417, allocations: 8 kB / 496.4 MB, free: 2.855 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.1418, allocations: 0 / 496.4 MB, free: 2.855 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.1418, allocations: 11.95 kB / 496.4 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.1418, allocations: 3.984 kB / 496.4 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1418, allocations: 0 / 496.4 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006339/0.1425, allocations: 188.8 kB / 496.6 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.215e-05/0.1426, allocations: 96.88 kB / 496.6 MB, free: 2.523 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.1426, allocations: 11.98 kB / 496.7 MB, free: 2.512 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.1427, allocations: 11.95 kB / 496.7 MB, free: 2.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.1428, allocations: 7.984 kB / 496.7 MB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.1428, allocations: 4 kB / 496.7 MB, free: 2.488 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000192/0.143, allocations: 137.3 kB / 496.8 MB, free: 2.355 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.143, allocations: 4 kB / 496.8 MB, free: 2.352 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003433/0.1434, allocations: 24 kB / 496.8 MB, free: 2.328 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.001225/0.1446, allocations: 411.5 kB / 497.2 MB, free: 1.965 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004105/0.1451, allocations: 83.89 kB / 497.3 MB, free: 1.883 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.1451, allocations: 8.188 kB / 497.3 MB, free: 1.875 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001759/0.1453, allocations: 35.98 kB / 497.4 MB, free: 1.84 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.1457, allocations: 35.36 kB / 497.4 MB, free: 1.812 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007684/0.1464, allocations: 323.6 kB / 497.7 MB, free: 1.469 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.1468, allocations: 0.7161 MB / 498.4 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.138e-05/0.1469, allocations: 23.42 kB / 498.5 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of SimCode: time 8.62e-07/0.1469, allocations: 4 kB / 498.5 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of Templates: time 0.006282/0.1532, allocations: 2.129 MB / 0.4889 GB, free: 14.57 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches