Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008783/0.0008783, allocations: 95.05 kB / 18.01 MB, free: 5.605 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.0009321/0.0009321, allocations: 177.7 kB / 18.91 MB, free: 4.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.3 MB / 243 MB, free: 14.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2094/0.2094, allocations: 44.25 MB / 338.3 MB, free: 2.402 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003387, allocations: 12 kB / 411 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1123, allocations: 61.92 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002217/0.1145, allocations: 1.417 MB / 474.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.116, allocations: 0.8421 MB / 475.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.434e-05/0.1161, allocations: 0 / 475.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002823/0.1164, allocations: 39.77 kB / 475.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001981/0.1166, allocations: 47.83 kB / 475.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000342/0.117, allocations: 87.83 kB / 475.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.1171, allocations: 87.77 kB / 475.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1173, allocations: 16.22 kB / 475.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.391e-05/0.1174, allocations: 35.73 kB / 475.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.757e-05/0.1174, allocations: 23.86 kB / 475.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.1175, allocations: 4 kB / 475.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.1176, allocations: 43.97 kB / 475.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.619e-05/0.1177, allocations: 19.92 kB / 475.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.614e-05/0.1177, allocations: 61.44 kB / 475.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.1179, allocations: 80.09 kB / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1179, allocations: 0 / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1179, allocations: 0 / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1179, allocations: 0 / 475.7 MB, free: 10.48 MB / 350.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.000536/0.1185, allocations: 391.1 kB / 476.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1185, allocations: 12.03 kB / 476.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.1186, allocations: 16.78 kB / 476.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.1188, allocations: 196.2 kB / 476.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.1188, allocations: 4.375 kB / 476.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.1189, allocations: 8.125 kB / 476.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.119, allocations: 57.66 kB / 476.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.119, allocations: 3.938 kB / 476.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1191, allocations: 0 / 476.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.1191, allocations: 4 kB / 476.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.448e-05/0.1191, allocations: 19.92 kB / 476.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.1195, allocations: 292.8 kB / 476.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.1197, allocations: 58.67 kB / 476.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.006e-05/0.1198, allocations: 16.86 kB / 476.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.1198, allocations: 7.938 kB / 476.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.12, allocations: 79.28 kB / 476.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.12, allocations: 0 / 476.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005444/0.1206, allocations: 165.3 kB / 477 MB, free: 9.008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.1206, allocations: 51.41 kB / 477.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.1208, allocations: 176.5 kB / 477.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.1208, allocations: 25.7 kB / 477.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.1209, allocations: 100.1 kB / 477.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.1209, allocations: 27.64 kB / 477.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.121, allocations: 17.72 kB / 477.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.1211, allocations: 326.8 kB / 477.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.909e-05/0.1212, allocations: 19.98 kB / 477.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.973e-05/0.1213, allocations: 37.7 kB / 477.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.1214, allocations: 61.64 kB / 477.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.1214, allocations: 3.984 kB / 477.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002104/0.1216, allocations: 105.4 kB / 478 MB, free: 8.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1217, allocations: 4 kB / 478 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1217, allocations: 0 / 478 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1217, allocations: 0 / 478 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.867e-05/0.1218, allocations: 20.36 kB / 478 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1218, allocations: 0 / 478 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.223e-05/0.1219, allocations: 7.938 kB / 478 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.1219, allocations: 11.97 kB / 478 MB, free: 7.969 MB / 350.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 0.0001261/0.122, allocations: 128.8 kB / 478.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.037e-05/0.1221, allocations: 7.906 kB / 478.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.175e-05/0.1221, allocations: 16.72 kB / 478.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.1221, allocations: 0 / 478.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.1221, allocations: 0 / 478.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.1221, allocations: 3.938 kB / 478.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004874/0.1226, allocations: 391.5 kB / 478.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1226, allocations: 0 / 478.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.608e-05/0.1227, allocations: 19.86 kB / 478.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1227, allocations: 4 kB / 478.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.1227, allocations: 3.938 kB / 478.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1227, allocations: 0 / 478.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1227, allocations: 0 / 478.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.123, allocations: 208.5 kB / 478.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.825e-05/0.1231, allocations: 89 kB / 478.9 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.1231, allocations: 7.938 kB / 478.9 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-05/0.1232, allocations: 4 kB / 478.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.1232, allocations: 11.92 kB / 478.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.1232, allocations: 4 kB / 478.9 MB, free: 6.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001214/0.1234, allocations: 138.8 kB / 479 MB, free: 6.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1234, allocations: 0 / 479 MB, free: 6.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.1236, allocations: 23.98 kB / 479 MB, free: 6.824 MB / 350.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.001051/0.1247, allocations: 465 kB / 479.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001698/0.1249, allocations: 51.92 kB / 479.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1249, allocations: 4.062 kB / 479.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.792e-05/0.125, allocations: 35.97 kB / 479.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.1253, allocations: 34.92 kB / 479.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004579/0.1258, allocations: 267.6 kB / 479.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.1261, allocations: 0.7004 MB / 480.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.1261, allocations: 15.44 kB / 480.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1261, allocations: 0 / 480.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of Templates: time 0.003854/0.13, allocations: 1.865 MB / 482.5 MB, free: 3.527 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches