Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.0012, allocations: 101.7 kB / 15.98 MB, free: 6.355 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.00147/0.00147, allocations: 199.3 kB / 16.91 MB, free: 6.195 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.64/1.64, allocations: 205.1 MB / 222.8 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3454/0.3454, allocations: 43.5 MB / 313.6 MB, free: 8.461 MB / 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.001444/0.001444, allocations: 67.91 kB / 382.2 MB, free: 8.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1286, allocations: 57.77 MB / 440 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003781/0.1324, allocations: 1.768 MB / 441.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.1341, allocations: 0.7807 MB / 442.6 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.1342, allocations: 4 kB / 442.6 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004261/0.1347, allocations: 35.83 kB / 442.6 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002834/0.135, allocations: 47.83 kB / 442.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.1354, allocations: 83.83 kB / 442.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.1356, allocations: 91.7 kB / 442.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.1358, allocations: 12.22 kB / 442.8 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.1359, allocations: 39.8 kB / 442.9 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.136, allocations: 35.83 kB / 442.9 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.136, allocations: 4 kB / 442.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.1362, allocations: 47.92 kB / 442.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.025e-05/0.1363, allocations: 23.91 kB / 443 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.324e-05/0.1363, allocations: 31.75 kB / 443 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.1366, allocations: 115.9 kB / 443.1 MB, free: 11.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.1366, allocations: 0 / 443.1 MB, free: 11.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1366, allocations: 0 / 443.1 MB, free: 11.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.1366, allocations: 3.938 kB / 443.1 MB, free: 11.62 MB / 382.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.0007951/0.1374, allocations: 410.9 kB / 443.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.397e-05/0.1375, allocations: 15.89 kB / 443.5 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.236e-05/0.1376, allocations: 12.84 kB / 443.6 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.1379, allocations: 208 kB / 443.8 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.138, allocations: 12.36 kB / 443.8 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.138, allocations: 4.125 kB / 443.8 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.1382, allocations: 53.67 kB / 443.8 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.1382, allocations: 7.938 kB / 443.8 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.1383, allocations: 0 / 443.8 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1383, allocations: 0 / 443.8 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.476e-05/0.1384, allocations: 19.98 kB / 443.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004383/0.1388, allocations: 292.8 kB / 444.1 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.139, allocations: 62.67 kB / 444.2 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.71e-05/0.1391, allocations: 16.86 kB / 444.2 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.1391, allocations: 0 / 444.2 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002803/0.1394, allocations: 75.3 kB / 444.3 MB, free: 10.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1394, allocations: 3.938 kB / 444.3 MB, free: 10.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006065/0.14, allocations: 161.4 kB / 444.4 MB, free: 10.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.1401, allocations: 51.41 kB / 444.5 MB, free: 10.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.1403, allocations: 190.1 kB / 444.7 MB, free: 9.863 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.1403, allocations: 29.7 kB / 444.7 MB, free: 9.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.689e-05/0.1404, allocations: 108.1 kB / 444.8 MB, free: 9.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.1404, allocations: 19.72 kB / 444.8 MB, free: 9.699 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.1405, allocations: 25.7 kB / 444.9 MB, free: 9.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1406, allocations: 326.8 kB / 445.2 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.608e-05/0.1407, allocations: 20 kB / 445.2 MB, free: 9.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.426e-05/0.1407, allocations: 37.7 kB / 445.2 MB, free: 9.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.1409, allocations: 53.7 kB / 445.3 MB, free: 9.219 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1409, allocations: 7.938 kB / 445.3 MB, free: 9.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001714/0.141, allocations: 101.6 kB / 445.4 MB, free: 9.105 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.1411, allocations: 8 kB / 445.4 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1411, allocations: 0 / 445.4 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.91e-05/0.1411, allocations: 3.984 kB / 445.4 MB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.283e-05/0.1412, allocations: 15.94 kB / 445.4 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.1412, allocations: 4 kB / 445.4 MB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.344e-05/0.1413, allocations: 4.125 kB / 445.4 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.1413, allocations: 4 kB / 445.4 MB, free: 9.066 MB / 382.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 0.0001303/0.1414, allocations: 133.8 kB / 445.6 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.1415, allocations: 7.906 kB / 445.6 MB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.761e-05/0.1415, allocations: 20.7 kB / 445.6 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1415, allocations: 0 / 445.6 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1415, allocations: 0 / 445.6 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.1415, allocations: 3.938 kB / 445.6 MB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004625/0.142, allocations: 399.2 kB / 446 MB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.142, allocations: 4.031 kB / 446 MB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.178e-05/0.1421, allocations: 8 kB / 446 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1421, allocations: 384 / 446 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.1421, allocations: 7.922 kB / 446 MB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1421, allocations: 8 kB / 446 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1421, allocations: 0 / 446 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.1424, allocations: 204.2 kB / 446.2 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.002e-05/0.1425, allocations: 85.02 kB / 446.3 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.1425, allocations: 3.938 kB / 446.3 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.908e-05/0.1426, allocations: 8 kB / 446.3 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.1427, allocations: 3.984 kB / 446.3 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.1427, allocations: 4 kB / 446.3 MB, free: 8.082 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001385/0.1428, allocations: 148 kB / 446.5 MB, free: 7.938 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1428, allocations: 0 / 446.5 MB, free: 7.938 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.1431, allocations: 20 kB / 446.5 MB, free: 7.918 MB / 382.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.001244/0.1443, allocations: 493.1 kB / 447 MB, free: 7.465 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002091/0.1446, allocations: 55.97 kB / 447 MB, free: 7.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1446, allocations: 64 / 447 MB, free: 7.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.124e-05/0.1447, allocations: 39.92 kB / 447.1 MB, free: 7.371 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.145, allocations: 32.09 kB / 447.1 MB, free: 7.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005007/0.1455, allocations: 247.1 kB / 447.3 MB, free: 7.066 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.1459, allocations: 0.7041 MB / 448 MB, free: 6.336 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.063e-05/0.146, allocations: 16.86 kB / 448.1 MB, free: 6.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.623e-05/0.1461, allocations: 15.44 kB / 448.1 MB, free: 6.305 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1461, allocations: 3.938 kB / 448.1 MB, free: 6.301 MB / 382.1 MB Notification: Performance of Templates: time 0.004576/0.1506, allocations: 1.655 MB / 449.7 MB, free: 4.648 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches