Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 105.9 kB / 17.2 MB, free: 6.273 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.001317/0.001317, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 222.9 MB / 241.8 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2294/0.2294, allocations: 44.16 MB / 336.1 MB, free: 3.008 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 64.5 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1358, allocations: 60.83 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003531/0.1394, allocations: 1.741 MB / 470.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.1409, allocations: 0.8731 MB / 471.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.452e-05/0.1411, allocations: 0 / 471.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003282/0.1414, allocations: 31.89 kB / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002004/0.1416, allocations: 47.83 kB / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003935/0.1421, allocations: 91.77 kB / 471.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.1423, allocations: 91.7 kB / 471.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.1424, allocations: 16.2 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.583e-05/0.1425, allocations: 35.8 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.044e-05/0.1426, allocations: 31.84 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.1426, allocations: 0 / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.1427, allocations: 47.91 kB / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.871e-05/0.1428, allocations: 15.94 kB / 471.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.362e-05/0.1429, allocations: 31.8 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.1431, allocations: 99.92 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.206e-05/0.1431, allocations: 4 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1431, allocations: 0 / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1431, allocations: 4 kB / 471.7 MB, free: 11.66 MB / 350.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.0005863/0.1437, allocations: 395.1 kB / 472.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.1438, allocations: 11.97 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/0.1438, allocations: 8.844 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.1441, allocations: 216.6 kB / 472.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.1441, allocations: 3.938 kB / 472.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.1441, allocations: 0 / 472.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.1443, allocations: 57.67 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1443, allocations: 7.906 kB / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.1443, allocations: 0 / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1444, allocations: 0 / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.499e-05/0.1444, allocations: 19.98 kB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.1449, allocations: 288.8 kB / 472.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.1451, allocations: 54.67 kB / 472.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.516e-05/0.1451, allocations: 24.86 kB / 472.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.1451, allocations: 0 / 472.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002545/0.1454, allocations: 67.33 kB / 472.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1454, allocations: 0 / 472.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006212/0.146, allocations: 173.3 kB / 473 MB, free: 10.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.1461, allocations: 59.28 kB / 473 MB, free: 10.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.1463, allocations: 168.3 kB / 473.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.1463, allocations: 25.7 kB / 473.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.288e-05/0.1464, allocations: 104 kB / 473.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.1464, allocations: 23.66 kB / 473.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.1465, allocations: 25.7 kB / 473.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1466, allocations: 322.8 kB / 473.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.834e-05/0.1467, allocations: 16 kB / 473.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.11e-05/0.1468, allocations: 41.7 kB / 473.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.1469, allocations: 61.62 kB / 473.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.147, allocations: 0 / 473.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001855/0.1471, allocations: 97.59 kB / 473.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.1472, allocations: 7.984 kB / 473.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1472, allocations: 0 / 473.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.1472, allocations: 4.312 kB / 473.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.1473, allocations: 23.97 kB / 473.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1474, allocations: 0 / 473.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.008e-05/0.1474, allocations: 4 kB / 473.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.1474, allocations: 7.984 kB / 474 MB, free: 9.145 MB / 350.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.000113/0.1475, allocations: 122 kB / 474.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.1476, allocations: 7.906 kB / 474.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.426e-05/0.1476, allocations: 28.52 kB / 474.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.1476, allocations: 0 / 474.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1477, allocations: 0 / 474.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1477, allocations: 4 kB / 474.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004924/0.1482, allocations: 391.3 kB / 474.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1482, allocations: 0 / 474.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.312e-05/0.1482, allocations: 12 kB / 474.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1482, allocations: 0 / 474.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.1482, allocations: 0 / 474.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.1483, allocations: 4 kB / 474.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.1483, allocations: 7.922 kB / 474.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.1485, allocations: 212.2 kB / 474.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.88e-05/0.1486, allocations: 81.02 kB / 474.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.1486, allocations: 4 kB / 474.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.728e-05/0.1487, allocations: 0 / 474.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.1487, allocations: 7.984 kB / 474.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.1488, allocations: 8 kB / 474.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.57e-05/0.1489, allocations: 125.1 kB / 474.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1489, allocations: 0 / 474.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.1491, allocations: 20 kB / 475 MB, free: 8.023 MB / 350.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.001135/0.1503, allocations: 477.7 kB / 475.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.1505, allocations: 63.91 kB / 475.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1505, allocations: 0 / 475.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.014e-05/0.1506, allocations: 27.92 kB / 475.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.151, allocations: 31.92 kB / 475.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004659/0.1514, allocations: 220.6 kB / 475.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.1517, allocations: 0.7004 MB / 476.5 MB, free: 6.641 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.228e-05/0.1518, allocations: 20.88 kB / 476.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.1519, allocations: 15.44 kB / 476.5 MB, free: 6.605 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1519, allocations: 0 / 476.5 MB, free: 6.605 MB / 350.1 MB Notification: Performance of Templates: time 0.004936/0.1568, allocations: 1.627 MB / 478.1 MB, free: 4.996 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches