Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001226/0.001226, 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.372/1.372, allocations: 205.1 MB / 222.5 MB, free: 8.477 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.000956/0.000956, allocations: 97.59 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.3221/0.3221, allocations: 43.49 MB / 360.7 MB, free: 51.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001039/0.001039, allocations: 47.92 kB / 429.2 MB, free: 6.367 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1133, allocations: 57.77 MB / 487 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003095/0.1164, allocations: 1.61 MB / 488.6 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006521/0.1171, allocations: 319.5 kB / 488.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.512e-05/0.1172, allocations: 0 / 488.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.1175, allocations: 71.83 kB / 489 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000186/0.1177, allocations: 55.88 kB / 489.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.1179, allocations: 67.8 kB / 489.1 MB, free: 10.39 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.1181, allocations: 63.88 kB / 489.2 MB, free: 10.33 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1182, allocations: 23.98 kB / 489.2 MB, free: 10.31 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.275e-05/0.1183, allocations: 35.77 kB / 489.2 MB, free: 10.27 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.576e-05/0.1184, allocations: 43.91 kB / 489.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.1184, allocations: 0 / 489.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.343e-05/0.1185, allocations: 31.98 kB / 489.3 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.098e-05/0.1185, allocations: 23.91 kB / 489.3 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.149e-05/0.1186, allocations: 27.75 kB / 489.4 MB, free: 10.15 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.1187, allocations: 87.94 kB / 489.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1188, allocations: 0 / 489.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1188, allocations: 0 / 489.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.1188, allocations: 4 kB / 489.5 MB, free: 10.06 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.0005176/0.1193, allocations: 395 kB / 489.8 MB, free: 9.625 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1193, allocations: 8.031 kB / 489.9 MB, free: 9.617 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.1194, allocations: 12.78 kB / 489.9 MB, free: 9.605 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.1196, allocations: 200.1 kB / 490.1 MB, free: 9.371 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.1196, allocations: 384 / 490.1 MB, free: 9.371 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.1196, allocations: 384 / 490.1 MB, free: 9.371 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.1198, allocations: 53.81 kB / 490.1 MB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1198, allocations: 4 kB / 490.1 MB, free: 9.309 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.1198, allocations: 0 / 490.1 MB, free: 9.309 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1198, allocations: 0 / 490.1 MB, free: 9.309 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.732e-05/0.1199, allocations: 23.98 kB / 490.1 MB, free: 9.285 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.1202, allocations: 276.8 kB / 490.4 MB, free: 8.965 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.1204, allocations: 50.55 kB / 490.5 MB, free: 8.906 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.494e-05/0.1205, allocations: 12.86 kB / 490.5 MB, free: 8.891 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.1205, allocations: 0 / 490.5 MB, free: 8.891 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.1206, allocations: 30.56 kB / 490.5 MB, free: 8.852 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.1206, allocations: 0 / 490.5 MB, free: 8.852 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005347/0.1211, allocations: 157.2 kB / 490.7 MB, free: 8.691 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.1211, allocations: 51.41 kB / 490.7 MB, free: 8.629 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.1213, allocations: 202.2 kB / 490.9 MB, free: 8.418 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.1214, allocations: 29.64 kB / 490.9 MB, free: 8.383 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.56e-05/0.1214, allocations: 104.1 kB / 491 MB, free: 8.277 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.1215, allocations: 23.62 kB / 491.1 MB, free: 8.254 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.1215, allocations: 21.66 kB / 491.1 MB, free: 8.227 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1216, allocations: 326.8 kB / 491.4 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.558e-05/0.1217, allocations: 23.98 kB / 491.4 MB, free: 7.875 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.512e-05/0.1218, allocations: 15.98 kB / 491.4 MB, free: 7.859 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.1219, allocations: 49.02 kB / 491.5 MB, free: 7.809 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1219, allocations: 0 / 491.5 MB, free: 7.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001617/0.1221, allocations: 77.58 kB / 491.6 MB, free: 7.727 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.1221, allocations: 4 kB / 491.6 MB, free: 7.723 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.1221, allocations: 4 kB / 491.6 MB, free: 7.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1221, allocations: 4 kB / 491.6 MB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.06e-05/0.1222, allocations: 19.92 kB / 491.6 MB, free: 7.695 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1222, allocations: 0 / 491.6 MB, free: 7.695 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.023e-05/0.1222, allocations: 4 kB / 491.6 MB, free: 7.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.1223, allocations: 0 / 491.6 MB, free: 7.691 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 9.474e-05/0.1224, allocations: 133.8 kB / 491.7 MB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.1224, allocations: 7.906 kB / 491.7 MB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.1226, allocations: 97.91 kB / 491.8 MB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1226, allocations: 0 / 491.8 MB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1226, allocations: 0 / 491.8 MB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.1226, allocations: 4 kB / 491.8 MB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003851/0.123, allocations: 350.4 kB / 492.2 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.123, allocations: 4 kB / 492.2 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.972e-05/0.1231, allocations: 12 kB / 492.2 MB, free: 7.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.1231, allocations: 3.984 kB / 492.2 MB, free: 7.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.1231, allocations: 0 / 492.2 MB, free: 7.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1231, allocations: 3.938 kB / 492.2 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1231, allocations: 192 / 492.2 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005036/0.1236, allocations: 0.7628 MB / 493 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.756e-05/0.1237, allocations: 89 kB / 493 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.1237, allocations: 0 / 493 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.365e-05/0.1238, allocations: 4 kB / 493.1 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.1238, allocations: 11.98 kB / 493.1 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.1238, allocations: 3.938 kB / 493.1 MB, free: 6.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001213/0.124, allocations: 163.9 kB / 493.2 MB, free: 5.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.124, allocations: 0 / 493.2 MB, free: 5.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003201/0.1243, allocations: 16 kB / 493.2 MB, free: 5.895 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.0008731/0.1252, allocations: 402.1 kB / 493.6 MB, free: 5.547 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000176/0.1254, allocations: 43.97 kB / 493.7 MB, free: 5.504 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1254, allocations: 0 / 493.7 MB, free: 5.504 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.063e-05/0.1255, allocations: 27.92 kB / 493.7 MB, free: 5.477 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.1259, allocations: 24.53 kB / 493.7 MB, free: 5.453 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004776/0.1263, allocations: 350.6 kB / 494.1 MB, free: 5.066 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.1266, allocations: 0.7043 MB / 494.8 MB, free: 4.336 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.266e-05/0.1267, allocations: 15.84 kB / 494.8 MB, free: 4.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.9e-05/0.1267, allocations: 15.44 kB / 494.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1267, allocations: 0 / 494.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of Templates: time 0.003485/0.1302, allocations: 1.069 MB / 495.9 MB, free: 3.234 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches