Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.272/1.272, allocations: 205.4 MB / 222.9 MB, free: 8.941 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.0007196/0.0007198, allocations: 102.3 kB / 271.2 MB, free: 8.238 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.3285/0.3285, allocations: 43.56 MB / 363.1 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003687/0.0003689, allocations: 24 kB / 432 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1112, allocations: 58.86 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002015/0.1132, allocations: 1.398 MB / 492.2 MB, free: 9.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.1143, allocations: 0.7384 MB / 493 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.244e-05/0.1144, allocations: 7.938 kB / 493 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.1147, allocations: 27.89 kB / 493 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.1149, allocations: 47.83 kB / 493.1 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.1151, allocations: 63.86 kB / 493.1 MB, free: 8.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.1153, allocations: 87.69 kB / 493.2 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.478e-05/0.1154, allocations: 20.2 kB / 493.2 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.525e-05/0.1154, allocations: 39.8 kB / 493.3 MB, free: 8.445 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.766e-05/0.1155, allocations: 19.86 kB / 493.3 MB, free: 8.426 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.1155, allocations: 4 kB / 493.3 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.423e-05/0.1156, allocations: 39.97 kB / 493.3 MB, free: 8.383 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.881e-05/0.1157, allocations: 15.86 kB / 493.3 MB, free: 8.367 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.24e-05/0.1157, allocations: 53.52 kB / 493.4 MB, free: 8.309 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.1159, allocations: 80.09 kB / 493.5 MB, free: 8.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1159, allocations: 3.984 kB / 493.5 MB, free: 8.227 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1159, allocations: 0 / 493.5 MB, free: 8.227 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.1159, allocations: 7.938 kB / 493.5 MB, free: 8.219 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004476/0.1164, allocations: 391.2 kB / 493.9 MB, free: 7.789 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.1164, allocations: 12.03 kB / 493.9 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.506e-05/0.1164, allocations: 12.75 kB / 493.9 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.1166, allocations: 208.1 kB / 494.1 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.1167, allocations: 4.375 kB / 494.1 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.1167, allocations: 4.125 kB / 494.1 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.1168, allocations: 61.61 kB / 494.2 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.1168, allocations: 0 / 494.2 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1169, allocations: 4 kB / 494.2 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1169, allocations: 4 kB / 494.2 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.579e-05/0.1169, allocations: 15.98 kB / 494.2 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.1173, allocations: 288.8 kB / 494.5 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.1174, allocations: 54.69 kB / 494.5 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.053e-05/0.1175, allocations: 24.84 kB / 494.5 MB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.1175, allocations: 0 / 494.5 MB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.1177, allocations: 67.39 kB / 494.6 MB, free: 6.926 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.1177, allocations: 3.938 kB / 494.6 MB, free: 6.922 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004749/0.1182, allocations: 165.3 kB / 494.8 MB, free: 6.754 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.1182, allocations: 51.41 kB / 494.8 MB, free: 6.691 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.1184, allocations: 174.2 kB / 495 MB, free: 6.508 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.1184, allocations: 33.7 kB / 495 MB, free: 6.469 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.921e-05/0.1185, allocations: 96.12 kB / 495.1 MB, free: 6.371 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.1185, allocations: 27.64 kB / 495.1 MB, free: 6.344 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/0.1185, allocations: 4 kB / 495.1 MB, free: 6.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.355e-05/0.1186, allocations: 326.8 kB / 495.5 MB, free: 6.012 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.024e-05/0.1187, allocations: 12 kB / 495.5 MB, free: 6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.006e-05/0.1187, allocations: 37.7 kB / 495.5 MB, free: 5.957 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.1188, allocations: 65.69 kB / 495.6 MB, free: 5.887 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1188, allocations: 0 / 495.6 MB, free: 5.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000159/0.119, allocations: 97.53 kB / 495.7 MB, free: 5.785 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.119, allocations: 4 kB / 495.7 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.119, allocations: 7.984 kB / 495.7 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.1191, allocations: 0 / 495.7 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.096e-05/0.1191, allocations: 15.94 kB / 495.7 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1192, allocations: 32 / 495.7 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/0.1192, allocations: 12.12 kB / 495.7 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.1192, allocations: 4 kB / 495.7 MB, free: 5.742 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.079e-05/0.1193, allocations: 137.5 kB / 495.9 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.1193, allocations: 11.81 kB / 495.9 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.672e-05/0.1194, allocations: 20.69 kB / 495.9 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1194, allocations: 0 / 495.9 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.1194, allocations: 0 / 495.9 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1194, allocations: 11.88 kB / 495.9 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004046/0.1198, allocations: 387.3 kB / 496.3 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1198, allocations: 384 / 496.3 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.277e-05/0.1199, allocations: 12 kB / 496.3 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1199, allocations: 0 / 496.3 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1199, allocations: 7.938 kB / 496.3 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.1199, allocations: 4 kB / 496.3 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1199, allocations: 3.984 kB / 496.3 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.1201, allocations: 208.5 kB / 496.5 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.1202, allocations: 85.02 kB / 496.6 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.1202, allocations: 3.938 kB / 496.6 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.113e-05/0.1203, allocations: 7.984 kB / 496.6 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.1203, allocations: 4 kB / 496.6 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.1203, allocations: 4 kB / 496.6 MB, free: 4.754 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.749e-05/0.1204, allocations: 139.9 kB / 496.7 MB, free: 4.617 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1204, allocations: 0 / 496.7 MB, free: 4.617 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002458/0.1207, allocations: 27.91 kB / 496.8 MB, free: 4.59 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009017/0.1216, allocations: 462.1 kB / 497.2 MB, free: 4.176 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.1218, allocations: 55.95 kB / 497.3 MB, free: 4.121 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1218, allocations: 0 / 497.3 MB, free: 4.121 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.716e-05/0.1219, allocations: 35.92 kB / 497.3 MB, free: 4.086 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.1222, allocations: 23.92 kB / 497.3 MB, free: 4.062 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003843/0.1226, allocations: 255.9 kB / 497.6 MB, free: 3.781 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.1228, allocations: 0.7043 MB / 498.3 MB, free: 3.051 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.597e-05/0.1228, allocations: 15.44 kB / 498.3 MB, free: 3.035 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1228, allocations: 0 / 498.3 MB, free: 3.035 MB / 378.7 MB Notification: Performance of Templates: time 0.003237/0.1261, allocations: 1.858 MB / 0.4884 GB, free: 1.18 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches