Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009692/0.0009693, allocations: 97.22 kB / 15.69 MB, free: 480 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.000946/0.0009461, allocations: 174.9 kB / 16.56 MB, free: 6.391 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.347/1.347, allocations: 205.4 MB / 222.7 MB, free: 5.66 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.3287/0.3287, allocations: 43.55 MB / 314.5 MB, free: 8.746 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.0004987/0.0004987, allocations: 16 kB / 383.9 MB, free: 8.027 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.121, allocations: 58.85 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002019/0.1231, allocations: 1.352 MB / 444.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.1242, allocations: 0.7188 MB / 444.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.385e-05/0.1243, allocations: 0 / 444.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.1246, allocations: 55.8 kB / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.1249, allocations: 59.8 kB / 444.9 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.1252, allocations: 67.84 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.1253, allocations: 59.84 kB / 445.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.614e-05/0.1254, allocations: 7.984 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.242e-05/0.1255, allocations: 47.83 kB / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.868e-05/0.1256, allocations: 35.84 kB / 445.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.1256, allocations: 0 / 445.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.343e-05/0.1257, allocations: 20 kB / 445.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.006e-05/0.1258, allocations: 15.91 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.475e-05/0.1258, allocations: 41.58 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.126, allocations: 76.11 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.126, allocations: 4 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.126, allocations: 0 / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.126, allocations: 0 / 445.3 MB, free: 10.49 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000507/0.1265, allocations: 394.8 kB / 445.7 MB, free: 10.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.1266, allocations: 8.031 kB / 445.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.1266, allocations: 7.906 kB / 445.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.1269, allocations: 210.8 kB / 445.9 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.1269, allocations: 0 / 445.9 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.1269, allocations: 7.938 kB / 445.9 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.1271, allocations: 45.67 kB / 446 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.1271, allocations: 3.984 kB / 446 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.1271, allocations: 4 kB / 446 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.1271, allocations: 7.891 kB / 446 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.268e-05/0.1272, allocations: 15.98 kB / 446 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.1274, allocations: 181.7 kB / 446.2 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.1275, allocations: 50.56 kB / 446.2 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.1276, allocations: 0 / 446.2 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/0.1278, allocations: 71.48 kB / 446.3 MB, free: 9.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.1278, allocations: 0 / 446.3 MB, free: 9.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002593/0.128, allocations: 89.58 kB / 446.4 MB, free: 9.246 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.1281, allocations: 67.28 kB / 446.4 MB, free: 9.168 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.1283, allocations: 178.2 kB / 446.6 MB, free: 8.984 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1283, allocations: 25.7 kB / 446.6 MB, free: 8.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.468e-05/0.1283, allocations: 100.1 kB / 446.7 MB, free: 8.852 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.1284, allocations: 19.81 kB / 446.8 MB, free: 8.832 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/0.1284, allocations: 0 / 446.8 MB, free: 8.832 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1285, allocations: 322.8 kB / 447.1 MB, free: 8.508 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.802e-05/0.1285, allocations: 15.98 kB / 447.1 MB, free: 8.492 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.919e-05/0.1286, allocations: 29.66 kB / 447.1 MB, free: 8.457 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.894e-05/0.1287, allocations: 15.98 kB / 447.1 MB, free: 8.441 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1287, allocations: 0 / 447.1 MB, free: 8.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001427/0.1288, allocations: 85.53 kB / 447.2 MB, free: 8.352 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1288, allocations: 4 kB / 447.2 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1289, allocations: 0 / 447.2 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.1289, allocations: 0 / 447.2 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.18e-05/0.129, allocations: 11.98 kB / 447.2 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.129, allocations: 4 kB / 447.2 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.704e-05/0.129, allocations: 11.86 kB / 447.3 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.129, allocations: 4 kB / 447.3 MB, free: 8.316 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 (7): * Single equations (assignments): 7 * 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 9.869e-05/0.1291, allocations: 129.8 kB / 447.4 MB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.1292, allocations: 7.906 kB / 447.4 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.508e-05/0.1292, allocations: 12.31 kB / 447.4 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1292, allocations: 7.938 kB / 447.4 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1292, allocations: 0 / 447.4 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1292, allocations: 0 / 447.4 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.1294, allocations: 193.5 kB / 447.6 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1294, allocations: 4 kB / 447.6 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.015e-05/0.1294, allocations: 0 / 447.6 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1294, allocations: 7.938 kB / 447.6 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.1294, allocations: 0 / 447.6 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1294, allocations: 4.312 kB / 447.6 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1294, allocations: 0 / 447.6 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.1296, allocations: 109 kB / 447.7 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/0.1297, allocations: 92.92 kB / 447.8 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.1297, allocations: 3.984 kB / 447.8 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.773e-05/0.1297, allocations: 4 kB / 447.8 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.1298, allocations: 0 / 447.8 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.1298, allocations: 8 kB / 447.8 MB, free: 7.652 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001144/0.1299, allocations: 152 kB / 448 MB, free: 7.504 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1299, allocations: 0 / 448 MB, free: 7.504 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002124/0.1301, allocations: 16 kB / 448 MB, free: 7.488 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008482/0.131, allocations: 410.5 kB / 448.4 MB, free: 7.113 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001493/0.1312, allocations: 43.97 kB / 448.4 MB, free: 7.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1312, allocations: 0 / 448.4 MB, free: 7.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.875e-05/0.1312, allocations: 24 kB / 448.5 MB, free: 7.047 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.1315, allocations: 31.91 kB / 448.5 MB, free: 7.016 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003676/0.1318, allocations: 205.2 kB / 448.7 MB, free: 6.785 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.1321, allocations: 0.7083 MB / 449.4 MB, free: 6.051 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.686e-05/0.1322, allocations: 12.41 kB / 449.4 MB, free: 6.039 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.1322, allocations: 15.44 kB / 449.4 MB, free: 6.023 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1322, allocations: 0 / 449.4 MB, free: 6.023 MB / 382.1 MB Notification: Performance of Templates: time 0.003854/0.1361, allocations: 1.372 MB / 450.8 MB, free: 4.652 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches