Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008959/0.0008956, allocations: 93.38 kB / 18.01 MB, free: 5.738 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.001033/0.001034, allocations: 176.8 kB / 18.91 MB, free: 4.871 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.4/1.4, allocations: 223.3 MB / 242.9 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1968/0.1968, allocations: 44.25 MB / 338.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.0003327, allocations: 13.77 kB / 411 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1147, allocations: 61.92 MB / 472.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002106/0.1169, allocations: 1.417 MB / 474.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.1184, allocations: 0.8459 MB / 475.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.508e-05/0.1185, allocations: 0 / 475.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.1188, allocations: 35.89 kB / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.119, allocations: 43.83 kB / 475.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.1194, allocations: 103.3 kB / 475.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.1196, allocations: 87.7 kB / 475.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.732e-05/0.1197, allocations: 12.22 kB / 475.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.779e-05/0.1198, allocations: 35.8 kB / 475.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.67e-05/0.1198, allocations: 31.84 kB / 475.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.1199, allocations: 0 / 475.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.12, allocations: 47.91 kB / 475.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.147e-05/0.12, allocations: 15.92 kB / 475.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.167e-05/0.1201, allocations: 57.45 kB / 475.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.1203, allocations: 88.09 kB / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1203, allocations: 0 / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1203, allocations: 0 / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1203, allocations: 0 / 475.7 MB, free: 10.52 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.0005156/0.1208, allocations: 395.2 kB / 476.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.1209, allocations: 8.031 kB / 476.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.1209, allocations: 8.844 kB / 476.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.1212, allocations: 219.9 kB / 476.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.1212, allocations: 4.375 kB / 476.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.1212, allocations: 12.06 kB / 476.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.1214, allocations: 53.67 kB / 476.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1214, allocations: 0 / 476.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1214, allocations: 0 / 476.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1214, allocations: 4 kB / 476.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.259e-05/0.1215, allocations: 15.98 kB / 476.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003724/0.1219, allocations: 284.8 kB / 476.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.122, allocations: 58.69 kB / 476.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.386e-05/0.1221, allocations: 20.84 kB / 476.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.1221, allocations: 4 kB / 476.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001741/0.1223, allocations: 71.39 kB / 476.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.246e-06/0.1223, allocations: 7.938 kB / 476.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005364/0.1229, allocations: 169.2 kB / 477 MB, free: 9.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.1229, allocations: 59.41 kB / 477.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.1231, allocations: 186.1 kB / 477.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.1231, allocations: 29.7 kB / 477.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.121e-05/0.1232, allocations: 100.1 kB / 477.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.1232, allocations: 23.66 kB / 477.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.1233, allocations: 17.72 kB / 477.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1234, allocations: 330.8 kB / 477.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.869e-05/0.1235, allocations: 19.98 kB / 477.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.137e-05/0.1235, allocations: 33.7 kB / 477.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1237, allocations: 61.69 kB / 477.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1237, allocations: 0 / 477.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001867/0.1239, allocations: 105.4 kB / 478 MB, free: 8.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1239, allocations: 8.031 kB / 478 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1239, allocations: 0 / 478 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1239, allocations: 4 kB / 478 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.062e-05/0.124, allocations: 19.92 kB / 478 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.124, allocations: 0 / 478 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.112e-05/0.1241, allocations: 7.938 kB / 478 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1241, allocations: 4 kB / 478 MB, free: 7.988 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.0001091/0.1242, allocations: 128.5 kB / 478.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.968e-05/0.1242, allocations: 11.91 kB / 478.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.055e-05/0.1243, allocations: 12.72 kB / 478.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.1243, allocations: 7.984 kB / 478.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1243, allocations: 3.938 kB / 478.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.1243, allocations: 3.938 kB / 478.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004397/0.1248, allocations: 395.5 kB / 478.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1248, allocations: 4 kB / 478.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.127e-05/0.1248, allocations: 4 kB / 478.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1248, allocations: 8.031 kB / 478.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.1248, allocations: 3.938 kB / 478.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1249, allocations: 0 / 478.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.1249, allocations: 7.984 kB / 478.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.1251, allocations: 204.1 kB / 478.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.496e-05/0.1251, allocations: 81.02 kB / 478.9 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.1252, allocations: 8.125 kB / 478.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.655e-05/0.1253, allocations: 11.98 kB / 478.9 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.1253, allocations: 7.938 kB / 478.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.1253, allocations: 4 kB / 478.9 MB, free: 6.992 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001134/0.1255, allocations: 143.2 kB / 479.1 MB, free: 6.852 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1255, allocations: 4 kB / 479.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003149/0.1258, allocations: 20 kB / 479.1 MB, free: 6.828 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.001077/0.1269, allocations: 479.8 kB / 479.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.1271, allocations: 59.91 kB / 479.6 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1271, allocations: 0 / 479.6 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.411e-05/0.1271, allocations: 31.92 kB / 479.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.1275, allocations: 28.11 kB / 479.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004555/0.128, allocations: 268.1 kB / 479.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.1283, allocations: 0.7121 MB / 480.6 MB, free: 5.379 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.954e-05/0.1283, allocations: 15.44 kB / 480.7 MB, free: 5.363 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1283, allocations: 0 / 480.7 MB, free: 5.363 MB / 350.1 MB Notification: Performance of Templates: time 0.003798/0.1321, allocations: 1.893 MB / 482.5 MB, free: 3.48 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches