Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001444/0.001444, allocations: 175.1 kB / 16.72 MB, free: 5.078 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.202/1.202, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0006997/0.0006998, allocations: 86.34 kB / 271.2 MB, free: 8.246 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.2949/0.2949, allocations: 43.56 MB / 363.1 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.0003635, allocations: 12 kB / 432 MB, free: 5.598 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1074, allocations: 58.86 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.00175/0.1092, allocations: 1.398 MB / 492.2 MB, free: 9.246 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1103, allocations: 0.7461 MB / 493 MB, free: 8.492 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.314e-05/0.1103, allocations: 0 / 493 MB, free: 8.492 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002572/0.1106, allocations: 35.83 kB / 493 MB, free: 8.457 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.1107, allocations: 35.86 kB / 493 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.111, allocations: 87.83 kB / 493.1 MB, free: 8.336 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.1111, allocations: 83.7 kB / 493.2 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.346e-05/0.1112, allocations: 12.2 kB / 493.2 MB, free: 8.242 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.893e-05/0.1113, allocations: 35.84 kB / 493.3 MB, free: 8.207 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.875e-05/0.1113, allocations: 31.8 kB / 493.3 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.1113, allocations: 0 / 493.3 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.171e-05/0.1114, allocations: 31.98 kB / 493.3 MB, free: 8.145 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.058e-05/0.1115, allocations: 23.86 kB / 493.3 MB, free: 8.121 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.818e-05/0.1116, allocations: 53.5 kB / 493.4 MB, free: 8.062 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.1117, allocations: 88.09 kB / 493.5 MB, free: 7.977 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1117, allocations: 0 / 493.5 MB, free: 7.977 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1117, allocations: 0 / 493.5 MB, free: 7.977 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1117, allocations: 0 / 493.5 MB, free: 7.977 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.0004466/0.1122, allocations: 391.2 kB / 493.9 MB, free: 7.547 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.1122, allocations: 8.031 kB / 493.9 MB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/0.1123, allocations: 12.75 kB / 493.9 MB, free: 7.527 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.1125, allocations: 200.2 kB / 494.1 MB, free: 7.293 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1125, allocations: 4.375 kB / 494.1 MB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.1125, allocations: 12.12 kB / 494.1 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.1127, allocations: 57.55 kB / 494.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1127, allocations: 0 / 494.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1127, allocations: 4 kB / 494.2 MB, free: 7.211 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1127, allocations: 3.984 kB / 494.2 MB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.614e-05/0.1128, allocations: 19.98 kB / 494.2 MB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.1131, allocations: 292.8 kB / 494.5 MB, free: 6.852 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.1133, allocations: 62.61 kB / 494.5 MB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.967e-05/0.1133, allocations: 16.86 kB / 494.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.1134, allocations: 0 / 494.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.1135, allocations: 67.38 kB / 494.6 MB, free: 6.684 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1136, allocations: 4 kB / 494.6 MB, free: 6.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004553/0.114, allocations: 173.2 kB / 494.8 MB, free: 6.504 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.1141, allocations: 51.41 kB / 494.8 MB, free: 6.441 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.1142, allocations: 174.2 kB / 495 MB, free: 6.262 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.1142, allocations: 25.7 kB / 495 MB, free: 6.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.023e-05/0.1143, allocations: 96.14 kB / 495.1 MB, free: 6.133 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.1143, allocations: 27.64 kB / 495.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.1143, allocations: 0 / 495.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1145, allocations: 330.8 kB / 495.5 MB, free: 5.773 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.616e-05/0.1145, allocations: 23.98 kB / 495.5 MB, free: 5.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.572e-05/0.1146, allocations: 37.64 kB / 495.5 MB, free: 5.707 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.995e-05/0.1147, allocations: 57.7 kB / 495.6 MB, free: 5.645 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1147, allocations: 0 / 495.6 MB, free: 5.645 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001704/0.1149, allocations: 101.5 kB / 495.7 MB, free: 5.539 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1149, allocations: 8.031 kB / 495.7 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.1149, allocations: 0 / 495.7 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.1149, allocations: 0 / 495.7 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.032e-05/0.115, allocations: 19.98 kB / 495.7 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.115, allocations: 160 / 495.7 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.1151, allocations: 7.938 kB / 495.7 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.1151, allocations: 4 kB / 495.7 MB, free: 5.5 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 8.828e-05/0.1152, allocations: 129.3 kB / 495.8 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.916e-05/0.1152, allocations: 15.8 kB / 495.9 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.565e-05/0.1153, allocations: 24.7 kB / 495.9 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1153, allocations: 0 / 495.9 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1153, allocations: 0 / 495.9 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.1153, allocations: 7.875 kB / 495.9 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003888/0.1157, allocations: 387.3 kB / 496.3 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1157, allocations: 0 / 496.3 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.073e-05/0.1157, allocations: 11.98 kB / 496.3 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1157, allocations: 4.031 kB / 496.3 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1157, allocations: 7.938 kB / 496.3 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1158, allocations: 0 / 496.3 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1158, allocations: 384 / 496.3 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.116, allocations: 200.2 kB / 496.5 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.516e-05/0.116, allocations: 93 kB / 496.6 MB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.1161, allocations: 3.938 kB / 496.6 MB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.965e-05/0.1161, allocations: 12.19 kB / 496.6 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/0.1162, allocations: 7.984 kB / 496.6 MB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.1162, allocations: 7.938 kB / 496.6 MB, free: 4.508 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.413e-05/0.1163, allocations: 135.9 kB / 496.7 MB, free: 4.375 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1163, allocations: 0 / 496.7 MB, free: 4.375 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002406/0.1165, allocations: 27.91 kB / 496.8 MB, free: 4.348 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.0009028/0.1174, allocations: 454.2 kB / 497.2 MB, free: 3.941 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001603/0.1176, allocations: 59.92 kB / 497.3 MB, free: 3.883 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1176, allocations: 0 / 497.3 MB, free: 3.883 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.47e-05/0.1177, allocations: 31.92 kB / 497.3 MB, free: 3.852 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.118, allocations: 27.39 kB / 497.3 MB, free: 3.828 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/0.1184, allocations: 263.6 kB / 497.6 MB, free: 3.539 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.1187, allocations: 0.7005 MB / 498.3 MB, free: 2.812 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/0.1187, allocations: 23.42 kB / 498.3 MB, free: 2.789 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1187, allocations: 0 / 498.3 MB, free: 2.789 MB / 378.7 MB Notification: Performance of Templates: time 0.003141/0.1219, allocations: 1.844 MB / 0.4884 GB, free: 0.9453 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches