Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 115.4 kB / 16.64 MB, free: 6.375 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.001223/0.001223, allocations: 189.5 kB / 17.56 MB, free: 5.801 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.489/1.489, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.2296/0.2296, allocations: 43.52 MB / 314.3 MB, free: 0.7031 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.001405/0.001405, allocations: 73.72 kB / 382.9 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1102, allocations: 57.79 MB / 440.7 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002673/0.1129, allocations: 1.704 MB / 442.4 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009715/0.1139, allocations: 0.7811 MB / 443.2 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7e-05/0.114, allocations: 0 / 443.2 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.1143, allocations: 59.78 kB / 443.2 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.1145, allocations: 59.81 kB / 443.3 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.1147, allocations: 71.8 kB / 443.3 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.1149, allocations: 103.7 kB / 443.5 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.44e-05/0.1149, allocations: 8 kB / 443.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.973e-05/0.115, allocations: 39.84 kB / 443.5 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.528e-05/0.1151, allocations: 51.77 kB / 443.5 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.1151, allocations: 4 kB / 443.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.878e-05/0.1152, allocations: 24 kB / 443.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.602e-05/0.1152, allocations: 23.91 kB / 443.6 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.838e-05/0.1153, allocations: 31.73 kB / 443.6 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.1154, allocations: 72.14 kB / 443.7 MB, free: 4.277 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1154, allocations: 7.984 kB / 443.7 MB, free: 4.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1154, allocations: 0 / 443.7 MB, free: 4.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1155, allocations: 0 / 443.7 MB, free: 4.27 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004633/0.1159, allocations: 406.9 kB / 444.1 MB, free: 3.824 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.116, allocations: 11.89 kB / 444.1 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.116, allocations: 8.844 kB / 444.1 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.1162, allocations: 209 kB / 444.3 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1162, allocations: 384 / 444.3 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.1162, allocations: 12.06 kB / 444.3 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.1164, allocations: 53.67 kB / 444.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.1164, allocations: 0 / 444.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1164, allocations: 0 / 444.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1164, allocations: 0 / 444.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.109e-05/0.1165, allocations: 15.98 kB / 444.4 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.1166, allocations: 181.7 kB / 444.6 MB, free: 3.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.1168, allocations: 54.56 kB / 444.6 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.582e-05/0.1168, allocations: 24.78 kB / 444.7 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.1168, allocations: 0 / 444.7 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.117, allocations: 67.38 kB / 444.7 MB, free: 3.082 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.117, allocations: 0 / 444.7 MB, free: 3.082 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002423/0.1173, allocations: 93.58 kB / 444.8 MB, free: 2.984 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.1173, allocations: 59.34 kB / 444.9 MB, free: 2.914 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.1174, allocations: 190 kB / 445.1 MB, free: 2.719 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.1174, allocations: 29.7 kB / 445.1 MB, free: 2.684 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.243e-05/0.1175, allocations: 104.1 kB / 445.2 MB, free: 2.578 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.1175, allocations: 3.906 kB / 445.2 MB, free: 2.574 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.1175, allocations: 17.72 kB / 445.2 MB, free: 2.551 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.692e-05/0.1176, allocations: 326.8 kB / 445.5 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.289e-05/0.1177, allocations: 19.92 kB / 445.6 MB, free: 2.203 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.332e-05/0.1177, allocations: 29.72 kB / 445.6 MB, free: 2.168 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.747e-05/0.1178, allocations: 41.7 kB / 445.6 MB, free: 2.121 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1178, allocations: 0 / 445.6 MB, free: 2.121 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001223/0.1179, allocations: 89.77 kB / 445.7 MB, free: 2.027 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.1179, allocations: 4 kB / 445.7 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.118, allocations: 0 / 445.7 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.118, allocations: 0 / 445.7 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.821e-05/0.118, allocations: 23.97 kB / 445.7 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.1181, allocations: 0 / 445.7 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.08e-05/0.1181, allocations: 11.78 kB / 445.8 MB, free: 1.988 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.1181, allocations: 4 kB / 445.8 MB, free: 1.984 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 (7): * Single equations (assignments): 7 * 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 6.94e-05/0.1182, allocations: 133.7 kB / 445.9 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.1182, allocations: 7.906 kB / 445.9 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.571e-05/0.1183, allocations: 16.3 kB / 445.9 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1183, allocations: 4 kB / 445.9 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1183, allocations: 0 / 445.9 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1183, allocations: 4 kB / 445.9 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.57e-05/0.1184, allocations: 181.6 kB / 446.1 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1184, allocations: 0 / 446.1 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.743e-05/0.1184, allocations: 4 kB / 446.1 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.1184, allocations: 0 / 446.1 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.1184, allocations: 8 kB / 446.1 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.1184, allocations: 3.984 kB / 446.1 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1185, allocations: 0 / 446.1 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.1186, allocations: 108.9 kB / 446.2 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.435e-05/0.1186, allocations: 92.91 kB / 446.3 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.1187, allocations: 4 kB / 446.3 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.202e-05/0.1187, allocations: 0 / 446.3 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.1187, allocations: 4 kB / 446.3 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.1187, allocations: 7.984 kB / 446.3 MB, free: 1.32 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.048e-05/0.1188, allocations: 135.2 kB / 446.5 MB, free: 1.188 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1188, allocations: 0 / 446.5 MB, free: 1.188 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002007/0.119, allocations: 20 kB / 446.5 MB, free: 1.168 MB / 318.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 (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.000873/0.1199, allocations: 417 kB / 446.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.1201, allocations: 43.92 kB / 446.9 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1201, allocations: 0 / 446.9 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.226e-05/0.1201, allocations: 16 kB / 446.9 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.1204, allocations: 27.91 kB / 447 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003532/0.1207, allocations: 239.9 kB / 447.2 MB, free: 492 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.1209, allocations: 0.7002 MB / 447.9 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.121, allocations: 11.44 kB / 447.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.121, allocations: 0 / 447.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of Templates: time 0.003519/0.1245, allocations: 1.693 MB / 449.6 MB, free: 14.06 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches