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.001521/0.001521, allocations: 104.1 kB / 16.64 MB, free: 6.82 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.001393/0.001393, allocations: 194.5 kB / 17.56 MB, free: 5.945 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.518/1.518, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.2312/0.2312, allocations: 43.52 MB / 314.3 MB, free: 0.7148 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.001559/0.001559, allocations: 70.86 kB / 382.9 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1027, allocations: 57.8 MB / 440.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002877/0.1056, allocations: 1.708 MB / 442.4 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.1067, allocations: 0.7811 MB / 443.2 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.784e-05/0.1068, allocations: 0 / 443.2 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003359/0.1072, allocations: 51.86 kB / 443.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002332/0.1074, allocations: 63.75 kB / 443.3 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.1077, allocations: 71.91 kB / 443.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.1079, allocations: 103.6 kB / 443.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.394e-05/0.1079, allocations: 4 kB / 443.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.678e-05/0.108, allocations: 47.83 kB / 443.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.291e-05/0.1081, allocations: 47.77 kB / 443.5 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.1082, allocations: 4 kB / 443.6 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.195e-05/0.1083, allocations: 24 kB / 443.6 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.91e-05/0.1083, allocations: 15.98 kB / 443.6 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.984e-05/0.1084, allocations: 39.67 kB / 443.6 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.1085, allocations: 76.11 kB / 443.7 MB, free: 4.301 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1085, allocations: 8 kB / 443.7 MB, free: 4.293 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1085, allocations: 0 / 443.7 MB, free: 4.293 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1085, allocations: 0 / 443.7 MB, free: 4.293 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.0004517/0.109, allocations: 398.9 kB / 444.1 MB, free: 3.855 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1091, allocations: 15.89 kB / 444.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.817e-05/0.1091, allocations: 8.844 kB / 444.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.1093, allocations: 205 kB / 444.3 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.1093, allocations: 4.375 kB / 444.3 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.1093, allocations: 4.125 kB / 444.3 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.1095, allocations: 57.61 kB / 444.4 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1095, allocations: 0 / 444.4 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1095, allocations: 0 / 444.4 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1095, allocations: 0 / 444.4 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.188e-05/0.1096, allocations: 15.98 kB / 444.4 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/0.1097, allocations: 177.7 kB / 444.6 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.1099, allocations: 54.62 kB / 444.6 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.972e-05/0.11, allocations: 24.78 kB / 444.7 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.11, allocations: 7.984 kB / 444.7 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.1102, allocations: 63.33 kB / 444.7 MB, free: 3.113 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.803e-06/0.1102, allocations: 0 / 444.7 MB, free: 3.113 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002561/0.1105, allocations: 93.56 kB / 444.8 MB, free: 3.016 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.1105, allocations: 59.41 kB / 444.9 MB, free: 2.945 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.1106, allocations: 194 kB / 445.1 MB, free: 2.746 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.1107, allocations: 25.7 kB / 445.1 MB, free: 2.715 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.361e-05/0.1107, allocations: 104.1 kB / 445.2 MB, free: 2.609 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.1107, allocations: 11.91 kB / 445.2 MB, free: 2.598 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.1108, allocations: 21.66 kB / 445.2 MB, free: 2.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.852e-05/0.1108, allocations: 322.8 kB / 445.5 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.574e-05/0.1109, allocations: 15.98 kB / 445.6 MB, free: 2.23 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.773e-05/0.1109, allocations: 33.7 kB / 445.6 MB, free: 2.191 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.098e-05/0.111, allocations: 41.97 kB / 445.6 MB, free: 2.145 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.111, allocations: 0 / 445.6 MB, free: 2.145 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000135/0.1112, allocations: 89.45 kB / 445.7 MB, free: 2.051 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1112, allocations: 4 kB / 445.7 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1112, allocations: 4 kB / 445.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1112, allocations: 0 / 445.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.352e-05/0.1113, allocations: 12.03 kB / 445.7 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1113, allocations: 3.938 kB / 445.7 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.549e-05/0.1114, allocations: 11.84 kB / 445.8 MB, free: 2.016 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.1114, allocations: 3.984 kB / 445.8 MB, free: 2.012 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.739e-05/0.1114, allocations: 133.7 kB / 445.9 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.1115, allocations: 7.906 kB / 445.9 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.587e-05/0.1115, allocations: 16.3 kB / 445.9 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1115, allocations: 0 / 445.9 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1115, allocations: 0 / 445.9 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/0.1115, allocations: 4 kB / 445.9 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.392e-05/0.1116, allocations: 185.6 kB / 446.1 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1116, allocations: 0 / 446.1 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.936e-05/0.1117, allocations: 4 kB / 446.1 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1117, allocations: 0 / 446.1 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.1117, allocations: 3.984 kB / 446.1 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1117, allocations: 0 / 446.1 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1117, allocations: 4 kB / 446.1 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.1118, allocations: 113 kB / 446.2 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.333e-05/0.1119, allocations: 88.86 kB / 446.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.1119, allocations: 4 kB / 446.3 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.249e-05/0.1119, allocations: 0 / 446.3 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.112, allocations: 8.109 kB / 446.3 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.112, allocations: 8 kB / 446.3 MB, free: 1.348 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.366e-05/0.1121, allocations: 135.2 kB / 446.5 MB, free: 1.215 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1121, allocations: 0 / 446.5 MB, free: 1.215 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002108/0.1123, allocations: 23.98 kB / 446.5 MB, free: 1.191 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.0008724/0.1132, allocations: 417.8 kB / 446.9 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.1133, allocations: 39.92 kB / 446.9 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1133, allocations: 0 / 446.9 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.484e-05/0.1134, allocations: 23.98 kB / 447 MB, free: 0.793 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.1137, allocations: 28.11 kB / 447 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003726/0.1141, allocations: 235.9 kB / 447.2 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.1143, allocations: 0.7041 MB / 447.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.1143, allocations: 15.44 kB / 447.9 MB, free: 15.76 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1143, allocations: 0 / 447.9 MB, free: 15.76 MB / 334.1 MB Notification: Performance of Templates: time 0.003534/0.1178, allocations: 1.679 MB / 449.6 MB, free: 14.08 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/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