Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.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_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_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001046, allocations: 96.67 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 177.9 kB / 16.57 MB, free: 6.379 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.364/1.364, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.3667/0.3667, allocations: 43.54 MB / 314.5 MB, free: 9.016 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.0004975/0.0004976, allocations: 12 kB / 383.9 MB, free: 8.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1218, allocations: 58.86 MB / 442.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002519/0.1244, allocations: 1.38 MB / 444.1 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.1265, allocations: 1.301 MB / 445.4 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.1266, allocations: 7.938 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003495/0.127, allocations: 19.91 kB / 445.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002868/0.1273, allocations: 55.81 kB / 445.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.1276, allocations: 83.64 kB / 445.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.1278, allocations: 63.86 kB / 445.7 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.597e-05/0.1279, allocations: 16.2 kB / 445.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.128, allocations: 35.84 kB / 445.7 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.1282, allocations: 31.84 kB / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.1282, allocations: 4 kB / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.1284, allocations: 39.92 kB / 445.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.71e-05/0.1284, allocations: 19.92 kB / 445.8 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.719e-05/0.1285, allocations: 41.64 kB / 445.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.1287, allocations: 96.06 kB / 445.9 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.594e-06/0.1287, allocations: 0 / 445.9 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1287, allocations: 0 / 445.9 MB, free: 10.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1287, allocations: 4 kB / 446 MB, free: 10.06 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006015/0.1294, allocations: 402.9 kB / 446.3 MB, free: 9.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.1294, allocations: 12.02 kB / 446.4 MB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.361e-05/0.1295, allocations: 7.906 kB / 446.4 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003098/0.1298, allocations: 211.5 kB / 446.6 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.1298, allocations: 4 kB / 446.6 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.1298, allocations: 0 / 446.6 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.13, allocations: 83.31 kB / 446.7 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.1301, allocations: 0 / 446.7 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.1301, allocations: 3.984 kB / 446.7 MB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1301, allocations: 3.953 kB / 446.7 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.53e-05/0.1302, allocations: 27.98 kB / 446.7 MB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005151/0.1307, allocations: 296.7 kB / 447 MB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.1309, allocations: 70.61 kB / 447 MB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.131, allocations: 8.062 kB / 447.1 MB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002039/0.1312, allocations: 71.47 kB / 447.1 MB, free: 8.715 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.1312, allocations: 4 kB / 447.1 MB, free: 8.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000614/0.1318, allocations: 185.3 kB / 447.3 MB, free: 8.523 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.1319, allocations: 81.05 kB / 447.4 MB, free: 8.426 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.1321, allocations: 159 kB / 447.5 MB, free: 8.258 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.1321, allocations: 25.7 kB / 447.6 MB, free: 8.227 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.962e-05/0.1322, allocations: 104 kB / 447.7 MB, free: 8.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.1322, allocations: 27.64 kB / 447.7 MB, free: 8.094 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.1322, allocations: 0 / 447.7 MB, free: 8.094 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1324, allocations: 326.8 kB / 448 MB, free: 7.766 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.965e-05/0.1324, allocations: 20 kB / 448 MB, free: 7.746 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.292e-05/0.1325, allocations: 54.58 kB / 448.1 MB, free: 7.684 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.679e-05/0.1326, allocations: 31.94 kB / 448.1 MB, free: 7.652 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1326, allocations: 0 / 448.1 MB, free: 7.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002028/0.1328, allocations: 113.5 kB / 448.2 MB, free: 7.535 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1328, allocations: 8.062 kB / 448.2 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1328, allocations: 4 kB / 448.2 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.1329, allocations: 0 / 448.2 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.133, allocations: 19.94 kB / 448.3 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.133, allocations: 0 / 448.3 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.262e-05/0.133, allocations: 11.98 kB / 448.3 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.1331, allocations: 0 / 448.3 MB, free: 7.492 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked 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.0001006/0.1332, allocations: 117.8 kB / 448.4 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.1332, allocations: 15.77 kB / 448.4 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.247e-05/0.1332, allocations: 24.7 kB / 448.4 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1333, allocations: 4 kB / 448.4 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1333, allocations: 0 / 448.4 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1333, allocations: 0 / 448.4 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004754/0.1338, allocations: 407.3 kB / 448.8 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.1338, allocations: 8 kB / 448.8 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.161e-05/0.1338, allocations: 15.92 kB / 448.9 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1338, allocations: 4.031 kB / 448.9 MB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1338, allocations: 4 kB / 448.9 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1339, allocations: 0.5469 kB / 448.9 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1339, allocations: 0 / 448.9 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.1341, allocations: 229.9 kB / 449.1 MB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.724e-05/0.1342, allocations: 85.2 kB / 449.2 MB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.1342, allocations: 8 kB / 449.2 MB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.996e-05/0.1343, allocations: 11.92 kB / 449.2 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.1344, allocations: 4 kB / 449.2 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.1344, allocations: 4 kB / 449.2 MB, free: 6.461 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00013/0.1345, allocations: 124.5 kB / 449.3 MB, free: 6.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.744e-06/0.1346, allocations: 0 / 449.3 MB, free: 6.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003163/0.1349, allocations: 39.92 kB / 449.4 MB, free: 6.301 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 (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.001285/0.1362, allocations: 0.5098 MB / 449.9 MB, free: 5.824 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.1364, allocations: 67.92 kB / 449.9 MB, free: 5.758 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.1364, allocations: 0 / 449.9 MB, free: 5.758 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.1365, allocations: 35.92 kB / 450 MB, free: 5.723 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.1368, allocations: 27.92 kB / 450 MB, free: 5.695 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005185/0.1373, allocations: 222.2 kB / 450.2 MB, free: 5.453 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.1376, allocations: 0.7082 MB / 450.9 MB, free: 4.719 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.748e-05/0.1377, allocations: 24.78 kB / 450.9 MB, free: 4.695 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/0.1378, allocations: 23.42 kB / 451 MB, free: 4.672 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1378, allocations: 0 / 451 MB, free: 4.672 MB / 382.1 MB Notification: Performance of Templates: time 0.00471/0.1425, allocations: 1.909 MB / 452.9 MB, free: 2.766 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/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_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches