Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 105.6 kB / 16.64 MB, free: 6.812 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.00125/0.00125, allocations: 194.5 kB / 17.56 MB, free: 5.945 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.354/1.354, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1977/0.1977, allocations: 43.51 MB / 314.3 MB, free: 0.7227 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.001686/0.001686, allocations: 71.02 kB / 382.9 MB, free: 56.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.117, allocations: 57.8 MB / 440.7 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003361/0.1204, allocations: 1.75 MB / 442.4 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.1219, allocations: 0.789 MB / 443.2 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.122, allocations: 7.938 kB / 443.2 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004113/0.1225, allocations: 67.83 kB / 443.3 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002935/0.1228, allocations: 71.8 kB / 443.4 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.1231, allocations: 79.47 kB / 443.4 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.1233, allocations: 111.7 kB / 443.5 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.1234, allocations: 8.516 kB / 443.6 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.1236, allocations: 51.72 kB / 443.6 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.1237, allocations: 59.81 kB / 443.7 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.1237, allocations: 4 kB / 443.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.1238, allocations: 43.97 kB / 443.7 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.99e-05/0.1239, allocations: 23.92 kB / 443.7 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.472e-05/0.124, allocations: 31.75 kB / 443.8 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.1242, allocations: 91.81 kB / 443.9 MB, free: 4.191 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.687e-06/0.1242, allocations: 4 kB / 443.9 MB, free: 4.188 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.248e-06/0.1242, allocations: 3.938 kB / 443.9 MB, free: 4.184 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.1242, allocations: 3.938 kB / 443.9 MB, free: 4.18 MB / 318.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.0005458/0.1248, allocations: 414.9 kB / 444.3 MB, free: 3.727 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1248, allocations: 11.89 kB / 444.3 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.459e-05/0.1249, allocations: 20.75 kB / 444.3 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.1251, allocations: 209.3 kB / 444.5 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.1251, allocations: 4.375 kB / 444.5 MB, free: 3.449 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.1252, allocations: 8.125 kB / 444.5 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.1253, allocations: 57.67 kB / 444.6 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.1253, allocations: 0 / 444.6 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1254, allocations: 0 / 444.6 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1254, allocations: 0 / 444.6 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.103e-05/0.1255, allocations: 27.92 kB / 444.6 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003508/0.1258, allocations: 292.7 kB / 444.9 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.126, allocations: 54.69 kB / 444.9 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.88e-05/0.126, allocations: 24.84 kB / 445 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.1261, allocations: 4 kB / 445 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002253/0.1263, allocations: 67.33 kB / 445 MB, free: 2.844 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.1263, allocations: 0 / 445 MB, free: 2.844 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000544/0.1269, allocations: 177.2 kB / 445.2 MB, free: 2.664 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.1269, allocations: 55.41 kB / 445.3 MB, free: 2.598 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.1271, allocations: 206.4 kB / 445.5 MB, free: 2.387 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.1271, allocations: 29.64 kB / 445.5 MB, free: 2.352 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.227e-05/0.1272, allocations: 108.1 kB / 445.6 MB, free: 2.242 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.1272, allocations: 27.64 kB / 445.6 MB, free: 2.215 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.1272, allocations: 17.72 kB / 445.6 MB, free: 2.191 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.127e-05/0.1273, allocations: 334.8 kB / 446 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.339e-05/0.1274, allocations: 19.98 kB / 446 MB, free: 1.836 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.527e-05/0.1274, allocations: 37.69 kB / 446 MB, free: 1.793 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.475e-05/0.1275, allocations: 65.64 kB / 446.1 MB, free: 1.723 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1275, allocations: 0 / 446.1 MB, free: 1.723 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000158/0.1277, allocations: 97.44 kB / 446.2 MB, free: 1.621 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1277, allocations: 12.03 kB / 446.2 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1277, allocations: 0 / 446.2 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1278, allocations: 3.984 kB / 446.2 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.1279, allocations: 19.98 kB / 446.2 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1279, allocations: 4.188 kB / 446.2 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.645e-05/0.1279, allocations: 3.938 kB / 446.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.1279, allocations: 7.938 kB / 446.2 MB, free: 1.57 MB / 318.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 7.964e-05/0.128, allocations: 133.8 kB / 446.4 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.1281, allocations: 7.906 kB / 446.4 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.564e-05/0.1281, allocations: 21.41 kB / 446.4 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1281, allocations: 3.984 kB / 446.4 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1281, allocations: 384 / 446.4 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1281, allocations: 3.938 kB / 446.4 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003397/0.1285, allocations: 395.2 kB / 446.8 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1285, allocations: 4 kB / 446.8 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.128e-05/0.1285, allocations: 11.94 kB / 446.8 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.1285, allocations: 4.031 kB / 446.8 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.1286, allocations: 11.92 kB / 446.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1286, allocations: 0 / 446.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1286, allocations: 0 / 446.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.1287, allocations: 196.5 kB / 447 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.823e-05/0.1288, allocations: 88.92 kB / 447.1 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.1288, allocations: 7.938 kB / 447.1 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.816e-05/0.1289, allocations: 8 kB / 447.1 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.1289, allocations: 7.984 kB / 447.1 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.129, allocations: 7.938 kB / 447.1 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.1291, allocations: 160.2 kB / 447.3 MB, free: 420 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1291, allocations: 0 / 447.3 MB, free: 420 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.1293, allocations: 23.98 kB / 447.3 MB, free: 396 kB / 318.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.001112/0.1305, allocations: 464 kB / 447.8 MB, free: 4 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002261/0.1307, allocations: 67.89 kB / 447.8 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1307, allocations: 0 / 447.8 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.404e-05/0.1308, allocations: 27.94 kB / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.1312, allocations: 36.03 kB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005626/0.1317, allocations: 292.7 kB / 448.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.132, allocations: 0.7119 MB / 448.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.502e-05/0.1321, allocations: 19.42 kB / 448.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1321, allocations: 0 / 448.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of Templates: time 0.004064/0.1362, allocations: 1.947 MB / 450.9 MB, free: 12.86 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches