Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001594/0.001594, 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.655/1.655, 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.0009996/0.0009993, allocations: 107 kB / 269.9 MB, free: 8.426 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.3374/0.3374, allocations: 43.49 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009724/0.0009726, allocations: 51.92 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1031, allocations: 57.78 MB / 487 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003634/0.1068, allocations: 1.752 MB / 488.8 MB, free: 10.76 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.1082, allocations: 0.7962 MB / 489.6 MB, free: 9.957 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.885e-05/0.1083, allocations: 0 / 489.6 MB, free: 9.957 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.1086, allocations: 43.81 kB / 489.6 MB, free: 9.914 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.1088, allocations: 47.83 kB / 489.7 MB, free: 9.867 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.109, allocations: 79.78 kB / 489.7 MB, free: 9.789 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.1092, allocations: 107.7 kB / 489.8 MB, free: 9.684 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.727e-05/0.1093, allocations: 24.19 kB / 489.9 MB, free: 9.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.908e-05/0.1094, allocations: 43.8 kB / 489.9 MB, free: 9.617 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.385e-05/0.1095, allocations: 43.81 kB / 490 MB, free: 9.574 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.1095, allocations: 4 kB / 490 MB, free: 9.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.1096, allocations: 39.98 kB / 490 MB, free: 9.531 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.566e-05/0.1097, allocations: 23.86 kB / 490 MB, free: 9.508 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.434e-05/0.1098, allocations: 39.73 kB / 490.1 MB, free: 9.469 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.1099, allocations: 131.8 kB / 490.2 MB, free: 9.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.11, allocations: 0 / 490.2 MB, free: 9.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.11, allocations: 0 / 490.2 MB, free: 9.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.11, allocations: 0 / 490.2 MB, free: 9.34 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005058/0.1105, allocations: 419 kB / 490.6 MB, free: 8.883 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.1105, allocations: 8.031 kB / 490.6 MB, free: 8.875 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.923e-05/0.1106, allocations: 20.69 kB / 490.6 MB, free: 8.855 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.1108, allocations: 216.7 kB / 490.8 MB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.1109, allocations: 12.36 kB / 490.8 MB, free: 8.594 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.1109, allocations: 4.125 kB / 490.9 MB, free: 8.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.111, allocations: 65.66 kB / 490.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1111, allocations: 3.984 kB / 490.9 MB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1111, allocations: 8 kB / 490.9 MB, free: 8.508 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.1111, allocations: 0 / 490.9 MB, free: 8.508 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.824e-05/0.1112, allocations: 39.97 kB / 491 MB, free: 8.469 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.1115, allocations: 300.8 kB / 491.3 MB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.1117, allocations: 78.61 kB / 491.3 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.663e-05/0.1118, allocations: 32.84 kB / 491.4 MB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.1119, allocations: 4 kB / 491.4 MB, free: 8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000251/0.1121, allocations: 79.44 kB / 491.5 MB, free: 7.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.1121, allocations: 0 / 491.5 MB, free: 7.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006173/0.1127, allocations: 229 kB / 491.7 MB, free: 7.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.1128, allocations: 55.41 kB / 491.7 MB, free: 7.613 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.113, allocations: 184.8 kB / 491.9 MB, free: 7.426 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.113, allocations: 33.8 kB / 491.9 MB, free: 7.387 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.277e-05/0.113, allocations: 108 kB / 492 MB, free: 7.277 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.1131, allocations: 27.56 kB / 492.1 MB, free: 7.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.456e-05/0.1131, allocations: 29.7 kB / 492.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1133, allocations: 322.8 kB / 492.4 MB, free: 6.891 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.92e-05/0.1133, allocations: 31.98 kB / 492.5 MB, free: 6.859 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.618e-05/0.1134, allocations: 45.7 kB / 492.5 MB, free: 6.809 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.1136, allocations: 81.58 kB / 492.6 MB, free: 6.723 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1136, allocations: 0 / 492.6 MB, free: 6.723 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002149/0.1138, allocations: 129.5 kB / 492.7 MB, free: 6.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1138, allocations: 4 kB / 492.7 MB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1138, allocations: 0 / 492.7 MB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1138, allocations: 0 / 492.7 MB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.495e-05/0.1139, allocations: 23.98 kB / 492.7 MB, free: 6.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.114, allocations: 4.031 kB / 492.7 MB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.502e-05/0.114, allocations: 3.938 kB / 492.7 MB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.577e-06/0.114, allocations: 7.938 kB / 492.7 MB, free: 6.547 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 (12): * Single equations (assignments): 12 * 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.576e-05/0.1141, allocations: 133.8 kB / 492.9 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.1142, allocations: 15.81 kB / 492.9 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.781e-05/0.1142, allocations: 25.86 kB / 492.9 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1142, allocations: 0 / 492.9 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1142, allocations: 0 / 492.9 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1142, allocations: 3.938 kB / 492.9 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000466/0.1147, allocations: 435.3 kB / 493.3 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1147, allocations: 0 / 493.3 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.413e-05/0.1148, allocations: 15.94 kB / 493.4 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.1148, allocations: 3.938 kB / 493.4 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.1148, allocations: 4 kB / 493.4 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.1148, allocations: 7.984 kB / 493.4 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1148, allocations: 0 / 493.4 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005361/0.1153, allocations: 0.8143 MB / 494.2 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.242e-05/0.1154, allocations: 89 kB / 494.3 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.1154, allocations: 8 kB / 494.3 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.538e-05/0.1155, allocations: 0 / 494.3 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.1156, allocations: 7.984 kB / 494.3 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.1156, allocations: 8 kB / 494.3 MB, free: 4.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000103/0.1157, allocations: 144.9 kB / 494.4 MB, free: 4.699 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1157, allocations: 0 / 494.4 MB, free: 4.699 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003462/0.116, allocations: 28 kB / 494.5 MB, free: 4.672 MB / 378.7 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 (10): * Single equations (assignments): 8 * 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.0008997/0.1169, allocations: 473.1 kB / 494.9 MB, free: 4.258 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.1171, allocations: 79.84 kB / 495 MB, free: 4.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.1172, allocations: 4 kB / 495 MB, free: 4.176 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.844e-05/0.1173, allocations: 43.92 kB / 495.1 MB, free: 4.133 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.1176, allocations: 28.58 kB / 495.1 MB, free: 4.105 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005158/0.1181, allocations: 407.5 kB / 495.5 MB, free: 3.664 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.1184, allocations: 0.7165 MB / 496.2 MB, free: 2.922 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.668e-05/0.1184, allocations: 25.06 kB / 496.2 MB, free: 2.898 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.005e-05/0.1185, allocations: 15.44 kB / 496.2 MB, free: 2.883 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1185, allocations: 0 / 496.2 MB, free: 2.883 MB / 378.7 MB Notification: Performance of Templates: time 0.004029/0.1225, allocations: 1.86 MB / 498.1 MB, free: 1.031 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches