Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.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.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001262/0.001262, 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.454/1.454, allocations: 205.1 MB / 222.5 MB, free: 8.469 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.0009216/0.0009215, allocations: 102.8 kB / 269.9 MB, free: 8.434 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.3125/0.3125, allocations: 43.49 MB / 360.7 MB, free: 51.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.001301, allocations: 55.92 kB / 429.2 MB, free: 6.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1107, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.002839/0.1136, allocations: 1.621 MB / 488.6 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005544/0.1142, allocations: 315.5 kB / 488.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.685e-05/0.1142, allocations: 0 / 488.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002405/0.1145, allocations: 71.84 kB / 489 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.1146, allocations: 55.81 kB / 489.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.1148, allocations: 63.92 kB / 489.1 MB, free: 10.4 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.1149, allocations: 59.83 kB / 489.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.1151, allocations: 19.98 kB / 489.2 MB, free: 10.32 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.339e-05/0.1151, allocations: 35.83 kB / 489.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.102e-05/0.1152, allocations: 47.88 kB / 489.3 MB, free: 10.24 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.1152, allocations: 0 / 489.3 MB, free: 10.24 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.685e-05/0.1153, allocations: 35.94 kB / 489.3 MB, free: 10.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.291e-05/0.1154, allocations: 23.92 kB / 489.3 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.1154, allocations: 23.75 kB / 489.4 MB, free: 10.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.1156, allocations: 91.92 kB / 489.5 MB, free: 10.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1156, allocations: 0 / 489.5 MB, free: 10.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.1156, allocations: 0 / 489.5 MB, free: 10.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.1156, allocations: 0 / 489.5 MB, free: 10.07 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004303/0.116, allocations: 395 kB / 489.8 MB, free: 9.637 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.1161, allocations: 12.03 kB / 489.9 MB, free: 9.625 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.272e-05/0.1161, allocations: 8.844 kB / 489.9 MB, free: 9.617 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.1163, allocations: 188.1 kB / 490 MB, free: 9.395 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.1163, allocations: 12.38 kB / 490.1 MB, free: 9.383 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.1163, allocations: 384 / 490.1 MB, free: 9.383 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.1165, allocations: 53.75 kB / 490.1 MB, free: 9.324 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.1165, allocations: 0 / 490.1 MB, free: 9.324 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.1165, allocations: 0 / 490.1 MB, free: 9.324 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1165, allocations: 0 / 490.1 MB, free: 9.324 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.086e-05/0.1166, allocations: 23.97 kB / 490.1 MB, free: 9.301 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003036/0.1169, allocations: 288.9 kB / 490.4 MB, free: 8.969 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.1171, allocations: 42.5 kB / 490.5 MB, free: 8.918 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.791e-05/0.1171, allocations: 20.94 kB / 490.5 MB, free: 8.895 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.1172, allocations: 0 / 490.5 MB, free: 8.895 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.1172, allocations: 34.5 kB / 490.5 MB, free: 8.852 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.1172, allocations: 4 kB / 490.5 MB, free: 8.848 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004827/0.1177, allocations: 149.1 kB / 490.7 MB, free: 8.695 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.1177, allocations: 51.41 kB / 490.7 MB, free: 8.633 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.1179, allocations: 202.2 kB / 490.9 MB, free: 8.422 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.1179, allocations: 29.64 kB / 490.9 MB, free: 8.387 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.959e-05/0.118, allocations: 104.1 kB / 491 MB, free: 8.281 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.118, allocations: 19.72 kB / 491.1 MB, free: 8.262 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.118, allocations: 13.72 kB / 491.1 MB, free: 8.242 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1181, allocations: 330.8 kB / 491.4 MB, free: 7.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.084e-05/0.1182, allocations: 15.98 kB / 491.4 MB, free: 7.895 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-05/0.1183, allocations: 15.98 kB / 491.4 MB, free: 7.879 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.1184, allocations: 48.77 kB / 491.5 MB, free: 7.828 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1184, allocations: 4.188 kB / 491.5 MB, free: 7.824 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001641/0.1186, allocations: 85.58 kB / 491.6 MB, free: 7.734 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.1186, allocations: 4 kB / 491.6 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/0.1186, allocations: 0 / 491.6 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.1186, allocations: 4 kB / 491.6 MB, free: 7.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.829e-05/0.1187, allocations: 11.98 kB / 491.6 MB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.1187, allocations: 0 / 491.6 MB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.58e-05/0.1187, allocations: 4 kB / 491.6 MB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.1187, allocations: 3.984 kB / 491.6 MB, free: 7.707 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.477e-05/0.1188, allocations: 133.8 kB / 491.7 MB, free: 7.566 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.1189, allocations: 15.84 kB / 491.7 MB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.1191, allocations: 89.91 kB / 491.8 MB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1191, allocations: 3.984 kB / 491.8 MB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1191, allocations: 0 / 491.8 MB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1191, allocations: 0 / 491.8 MB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003745/0.1195, allocations: 354.5 kB / 492.2 MB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1195, allocations: 0 / 492.2 MB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.076e-05/0.1196, allocations: 15.98 kB / 492.2 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1196, allocations: 0 / 492.2 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.1196, allocations: 0 / 492.2 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.1196, allocations: 3.938 kB / 492.2 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1196, allocations: 0 / 492.2 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000491/0.1201, allocations: 0.7668 MB / 493 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.1201, allocations: 85.02 kB / 493 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.1202, allocations: 4 kB / 493 MB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.285e-05/0.1202, allocations: 4 kB / 493.1 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.1203, allocations: 3.984 kB / 493.1 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.1203, allocations: 11.94 kB / 493.1 MB, free: 6.082 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001055/0.1204, allocations: 164 kB / 493.2 MB, free: 5.922 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1204, allocations: 3.938 kB / 493.2 MB, free: 5.918 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003085/0.1207, allocations: 12 kB / 493.2 MB, free: 5.906 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0007697/0.1215, allocations: 394.3 kB / 493.6 MB, free: 5.566 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001606/0.1217, allocations: 51.91 kB / 493.7 MB, free: 5.516 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1217, allocations: 4 kB / 493.7 MB, free: 5.512 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.552e-05/0.1217, allocations: 23.98 kB / 493.7 MB, free: 5.488 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.1221, allocations: 20.53 kB / 493.7 MB, free: 5.469 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004248/0.1225, allocations: 358.6 kB / 494.1 MB, free: 5.074 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.1227, allocations: 0.7004 MB / 494.8 MB, free: 4.348 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.257e-05/0.1228, allocations: 19.77 kB / 494.8 MB, free: 4.328 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.317e-05/0.1228, allocations: 15.38 kB / 494.8 MB, free: 4.312 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1228, allocations: 0 / 494.8 MB, free: 4.312 MB / 378.7 MB Notification: Performance of Templates: time 0.002914/0.1257, allocations: 1.073 MB / 495.9 MB, free: 3.238 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches