Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001324/0.001324, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 103.9 kB / 269.9 MB, free: 8.422 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.319/0.319, allocations: 43.49 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009975/0.0009975, allocations: 55.92 kB / 429.2 MB, free: 6.363 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.107, allocations: 57.77 MB / 487 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002978/0.11, allocations: 1.727 MB / 488.7 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.1112, allocations: 0.7819 MB / 489.5 MB, free: 9.996 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.562e-05/0.1113, allocations: 0 / 489.5 MB, free: 9.996 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.1115, allocations: 47.86 kB / 489.6 MB, free: 9.949 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.1117, allocations: 67.69 kB / 489.6 MB, free: 9.883 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.112, allocations: 67.91 kB / 489.7 MB, free: 9.816 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.1121, allocations: 91.64 kB / 489.8 MB, free: 9.727 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.1122, allocations: 7.984 kB / 489.8 MB, free: 9.719 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.786e-05/0.1122, allocations: 47.77 kB / 489.8 MB, free: 9.672 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.754e-05/0.1123, allocations: 27.86 kB / 489.9 MB, free: 9.645 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.1123, allocations: 0 / 489.9 MB, free: 9.645 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.785e-05/0.1124, allocations: 31.98 kB / 489.9 MB, free: 9.613 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.093e-05/0.1125, allocations: 31.84 kB / 489.9 MB, free: 9.582 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.098e-05/0.1125, allocations: 35.69 kB / 490 MB, free: 9.547 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.1127, allocations: 111.9 kB / 490.1 MB, free: 9.438 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1127, allocations: 3.938 kB / 490.1 MB, free: 9.434 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1127, allocations: 0 / 490.1 MB, free: 9.434 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.1127, allocations: 0 / 490.1 MB, free: 9.434 MB / 378.7 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.0004769/0.1132, allocations: 434.7 kB / 490.5 MB, free: 8.961 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.1132, allocations: 12.02 kB / 490.5 MB, free: 8.949 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.172e-05/0.1133, allocations: 8.844 kB / 490.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.1135, allocations: 223.7 kB / 490.7 MB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.1135, allocations: 12.3 kB / 490.8 MB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.1135, allocations: 4.125 kB / 490.8 MB, free: 8.668 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.1137, allocations: 45.69 kB / 490.8 MB, free: 8.617 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.1137, allocations: 0 / 490.8 MB, free: 8.617 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.1137, allocations: 0 / 490.8 MB, free: 8.617 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1137, allocations: 3.984 kB / 490.8 MB, free: 8.613 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.913e-05/0.1138, allocations: 12 kB / 490.8 MB, free: 8.602 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/0.114, allocations: 193.7 kB / 491 MB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.1141, allocations: 54.56 kB / 491.1 MB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.108e-05/0.1142, allocations: 24.78 kB / 491.1 MB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1142, allocations: 0 / 491.1 MB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.1144, allocations: 63.39 kB / 491.1 MB, free: 8.199 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.816e-06/0.1144, allocations: 4 kB / 491.2 MB, free: 8.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000261/0.1147, allocations: 97.48 kB / 491.2 MB, free: 8.094 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.1147, allocations: 55.34 kB / 491.3 MB, free: 8.027 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.1149, allocations: 259.7 kB / 491.6 MB, free: 7.762 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.1149, allocations: 25.7 kB / 491.6 MB, free: 7.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.115, allocations: 112.1 kB / 491.7 MB, free: 7.617 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.115, allocations: 19.8 kB / 491.7 MB, free: 7.598 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.1151, allocations: 17.72 kB / 491.7 MB, free: 7.574 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.353e-05/0.1152, allocations: 326.8 kB / 492 MB, free: 7.246 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.629e-05/0.1152, allocations: 16.23 kB / 492.1 MB, free: 7.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.39e-05/0.1153, allocations: 29.72 kB / 492.1 MB, free: 7.195 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.875e-05/0.1154, allocations: 41.7 kB / 492.1 MB, free: 7.148 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1154, allocations: 3.938 kB / 492.1 MB, free: 7.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001481/0.1156, allocations: 93.38 kB / 492.2 MB, free: 7.047 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1156, allocations: 12.02 kB / 492.2 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1156, allocations: 0 / 492.2 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1156, allocations: 4 kB / 492.2 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.557e-05/0.1157, allocations: 8 kB / 492.2 MB, free: 7.023 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1157, allocations: 3.938 kB / 492.3 MB, free: 7.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.287e-05/0.1157, allocations: 7.938 kB / 492.3 MB, free: 7.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.1157, allocations: 0 / 492.3 MB, free: 7.012 MB / 378.7 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 9.863e-05/0.1158, allocations: 137.8 kB / 492.4 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.1159, allocations: 19.8 kB / 492.4 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.302e-05/0.1159, allocations: 17 kB / 492.4 MB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1159, allocations: 0 / 492.4 MB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1159, allocations: 4 kB / 492.4 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1159, allocations: 0 / 492.4 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.1161, allocations: 193.6 kB / 492.6 MB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1161, allocations: 0 / 492.6 MB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.95e-05/0.1161, allocations: 4 kB / 492.6 MB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1161, allocations: 0 / 492.6 MB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.1161, allocations: 7.984 kB / 492.6 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1161, allocations: 0 / 492.6 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1161, allocations: 0 / 492.6 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004432/0.1166, allocations: 0.7019 MB / 493.3 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.1167, allocations: 88.91 kB / 493.4 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.1167, allocations: 4 kB / 493.4 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.457e-05/0.1167, allocations: 0 / 493.4 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.1168, allocations: 7.984 kB / 493.4 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.1168, allocations: 11.88 kB / 493.4 MB, free: 5.684 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001543/0.1169, allocations: 203 kB / 493.6 MB, free: 5.484 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1169, allocations: 3.938 kB / 493.7 MB, free: 5.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002993/0.1172, allocations: 16 kB / 493.7 MB, free: 5.465 MB / 378.7 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.0007818/0.118, allocations: 409.9 kB / 494.1 MB, free: 5.109 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.1182, allocations: 47.97 kB / 494.1 MB, free: 5.062 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1182, allocations: 0 / 494.1 MB, free: 5.062 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.403e-05/0.1183, allocations: 24 kB / 494.1 MB, free: 5.039 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.1185, allocations: 27.97 kB / 494.2 MB, free: 5.012 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005468/0.1191, allocations: 399.2 kB / 494.6 MB, free: 4.582 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.1194, allocations: 0.7121 MB / 495.3 MB, free: 3.844 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.785e-05/0.1194, allocations: 16.53 kB / 495.3 MB, free: 3.828 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.137e-05/0.1195, allocations: 15.44 kB / 495.3 MB, free: 3.816 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1195, allocations: 0 / 495.3 MB, free: 3.816 MB / 378.7 MB Notification: Performance of Templates: time 0.004078/0.1236, allocations: 1.474 MB / 496.8 MB, free: 2.348 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches