Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,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.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 97.06 kB / 15.69 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.001426/0.001426, allocations: 174.7 kB / 16.56 MB, free: 6.375 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.463/1.463, allocations: 205.4 MB / 222.7 MB, free: 5.68 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.3314/0.3314, allocations: 43.55 MB / 314.5 MB, free: 9.082 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.0004716/0.0004716, allocations: 24 kB / 383.9 MB, free: 8.246 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1199, allocations: 58.86 MB / 442.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002022/0.122, allocations: 1.387 MB / 444.1 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.1239, allocations: 1.301 MB / 445.4 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.1241, allocations: 4 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.1243, allocations: 31.89 kB / 445.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.1246, allocations: 47.81 kB / 445.5 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.1248, allocations: 75.78 kB / 445.6 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.125, allocations: 55.86 kB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.442e-05/0.1251, allocations: 20.2 kB / 445.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.678e-05/0.1252, allocations: 35.84 kB / 445.7 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.1253, allocations: 19.86 kB / 445.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.1254, allocations: 8 kB / 445.7 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.1255, allocations: 47.91 kB / 445.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.197e-05/0.1255, allocations: 11.92 kB / 445.8 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.754e-05/0.1256, allocations: 41.64 kB / 445.8 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.1257, allocations: 88.08 kB / 445.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.1258, allocations: 0 / 445.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1258, allocations: 4 kB / 445.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.1258, allocations: 3.938 kB / 445.9 MB, free: 10.08 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.000497/0.1263, allocations: 390.9 kB / 446.3 MB, free: 9.652 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.1263, allocations: 16.03 kB / 446.3 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.1264, allocations: 7.906 kB / 446.3 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.1266, allocations: 198.9 kB / 446.5 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.1266, allocations: 4 kB / 446.5 MB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.1267, allocations: 0 / 446.5 MB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.1268, allocations: 75.33 kB / 446.6 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.1269, allocations: 3.953 kB / 446.6 MB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.1269, allocations: 0 / 446.6 MB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1269, allocations: 4 kB / 446.6 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.111e-05/0.127, allocations: 19.98 kB / 446.6 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.1273, allocations: 280.9 kB / 446.9 MB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.1275, allocations: 54.61 kB / 447 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.1275, allocations: 8.078 kB / 447 MB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.1277, allocations: 71.39 kB / 447 MB, free: 8.801 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1277, allocations: 0 / 447 MB, free: 8.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005015/0.1282, allocations: 177.1 kB / 447.2 MB, free: 8.621 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.1283, allocations: 77.11 kB / 447.3 MB, free: 8.527 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.1284, allocations: 149.8 kB / 447.4 MB, free: 8.371 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.1284, allocations: 29.7 kB / 447.5 MB, free: 8.336 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.724e-05/0.1285, allocations: 96.14 kB / 447.6 MB, free: 8.238 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.1285, allocations: 27.64 kB / 447.6 MB, free: 8.211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.1286, allocations: 0 / 447.6 MB, free: 8.211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.1287, allocations: 318.8 kB / 447.9 MB, free: 7.891 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.045e-05/0.1287, allocations: 20 kB / 447.9 MB, free: 7.871 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.375e-05/0.1288, allocations: 46.5 kB / 448 MB, free: 7.816 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.01e-05/0.1289, allocations: 28.02 kB / 448 MB, free: 7.789 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1289, allocations: 4.031 kB / 448 MB, free: 7.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001794/0.1291, allocations: 105.5 kB / 448.1 MB, free: 7.676 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.1291, allocations: 4 kB / 448.1 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1291, allocations: 0 / 448.1 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.1291, allocations: 4 kB / 448.1 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.592e-05/0.1292, allocations: 15.98 kB / 448.1 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.1292, allocations: 3.938 kB / 448.1 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.029e-05/0.1293, allocations: 4 kB / 448.1 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.1293, allocations: 8.172 kB / 448.1 MB, free: 7.637 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 (10): * Single equations (assignments): 10 * 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.0001143/0.1294, allocations: 133.8 kB / 448.3 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.1294, allocations: 11.84 kB / 448.3 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.479e-05/0.1295, allocations: 12.72 kB / 448.3 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.1295, allocations: 4 kB / 448.3 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1295, allocations: 0 / 448.3 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.1295, allocations: 0 / 448.3 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000404/0.1299, allocations: 395.3 kB / 448.7 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1299, allocations: 0 / 448.7 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.713e-05/0.13, allocations: 15.94 kB / 448.7 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.13, allocations: 0 / 448.7 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.986e-06/0.13, allocations: 0 / 448.7 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.13, allocations: 4 kB / 448.7 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.13, allocations: 0 / 448.7 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.1302, allocations: 221.9 kB / 448.9 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/0.1303, allocations: 81.02 kB / 449 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.1303, allocations: 8 kB / 449 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.375e-05/0.1304, allocations: 3.984 kB / 449 MB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.1304, allocations: 7.938 kB / 449 MB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.1304, allocations: 4 kB / 449 MB, free: 6.645 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.132e-05/0.1305, allocations: 122.6 kB / 449.1 MB, free: 6.527 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1305, allocations: 0 / 449.1 MB, free: 6.527 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000271/0.1308, allocations: 39.98 kB / 449.2 MB, free: 6.488 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 (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.001019/0.1318, allocations: 0.4972 MB / 449.7 MB, free: 6.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.132, allocations: 59.89 kB / 449.7 MB, free: 5.961 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.132, allocations: 0 / 449.7 MB, free: 5.961 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.177e-05/0.1321, allocations: 24 kB / 449.8 MB, free: 5.938 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.1324, allocations: 27.97 kB / 449.8 MB, free: 5.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004233/0.1328, allocations: 206.1 kB / 450 MB, free: 5.684 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.1331, allocations: 0.7004 MB / 450.7 MB, free: 4.957 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.485e-05/0.1332, allocations: 20.86 kB / 450.7 MB, free: 4.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/0.1332, allocations: 23.42 kB / 450.7 MB, free: 4.906 MB / 382.1 MB Notification: Performance of SimCode: time 1.383e-06/0.1332, allocations: 0 / 450.7 MB, free: 4.906 MB / 382.1 MB Notification: Performance of Templates: time 0.004352/0.1376, allocations: 1.826 MB / 452.6 MB, free: 3.082 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches