Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000994/0.000994, allocations: 175.9 kB / 16.72 MB, free: 4.949 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.256/1.256, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.0007552/0.0007552, allocations: 101 kB / 271.2 MB, free: 8.227 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.2952/0.2952, allocations: 43.57 MB / 363.1 MB, free: 52.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003465, allocations: 16 kB / 432 MB, free: 5.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1011, allocations: 58.84 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.001977/0.1032, allocations: 1.401 MB / 492.2 MB, free: 9.469 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.1043, allocations: 0.7461 MB / 493 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.419e-05/0.1044, allocations: 4 kB / 493 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002549/0.1046, allocations: 31.89 kB / 493 MB, free: 8.68 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.1048, allocations: 43.83 kB / 493.1 MB, free: 8.637 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.105, allocations: 75.86 kB / 493.1 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.1052, allocations: 87.69 kB / 493.2 MB, free: 8.477 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.338e-05/0.1053, allocations: 12.2 kB / 493.2 MB, free: 8.465 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.542e-05/0.1054, allocations: 39.78 kB / 493.3 MB, free: 8.426 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.393e-05/0.1054, allocations: 31.86 kB / 493.3 MB, free: 8.395 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.1055, allocations: 4 kB / 493.3 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.291e-05/0.1055, allocations: 39.91 kB / 493.3 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.093e-05/0.1056, allocations: 15.92 kB / 493.4 MB, free: 8.336 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.529e-05/0.1057, allocations: 49.52 kB / 493.4 MB, free: 8.281 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.1058, allocations: 88.09 kB / 493.5 MB, free: 8.195 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1058, allocations: 0 / 493.5 MB, free: 8.195 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1058, allocations: 0 / 493.5 MB, free: 8.195 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1058, allocations: 0 / 493.5 MB, free: 8.195 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.0005291/0.1064, allocations: 407 kB / 493.9 MB, free: 7.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.1064, allocations: 8.031 kB / 493.9 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.662e-05/0.1065, allocations: 8.844 kB / 493.9 MB, free: 7.734 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.1067, allocations: 212 kB / 494.1 MB, free: 7.488 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.1067, allocations: 4.375 kB / 494.1 MB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.1067, allocations: 12.06 kB / 494.1 MB, free: 7.473 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.1069, allocations: 53.67 kB / 494.2 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1069, allocations: 0 / 494.2 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1069, allocations: 0 / 494.2 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1069, allocations: 0 / 494.2 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.166e-05/0.107, allocations: 31.92 kB / 494.2 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.1074, allocations: 280.9 kB / 494.5 MB, free: 7.059 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.1075, allocations: 54.67 kB / 494.5 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.832e-05/0.1076, allocations: 16.86 kB / 494.6 MB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.1076, allocations: 7.938 kB / 494.6 MB, free: 6.969 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.1078, allocations: 71.3 kB / 494.6 MB, free: 6.887 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1078, allocations: 0 / 494.6 MB, free: 6.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005264/0.1083, allocations: 169.3 kB / 494.8 MB, free: 6.715 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.1084, allocations: 51.41 kB / 494.8 MB, free: 6.652 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.1085, allocations: 186.1 kB / 495 MB, free: 6.457 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.1086, allocations: 29.7 kB / 495.1 MB, free: 6.422 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.053e-05/0.1086, allocations: 104.1 kB / 495.2 MB, free: 6.316 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.1087, allocations: 27.59 kB / 495.2 MB, free: 6.289 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.1087, allocations: 0 / 495.2 MB, free: 6.289 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1088, allocations: 330.8 kB / 495.5 MB, free: 5.957 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.218e-05/0.1089, allocations: 15.98 kB / 495.5 MB, free: 5.941 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.097e-05/0.1089, allocations: 37.7 kB / 495.6 MB, free: 5.898 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.109, allocations: 69.62 kB / 495.6 MB, free: 5.824 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1091, allocations: 0 / 495.6 MB, free: 5.824 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001638/0.1092, allocations: 93.53 kB / 495.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1092, allocations: 8 kB / 495.7 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1093, allocations: 0 / 495.7 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1093, allocations: 0 / 495.7 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.865e-05/0.1094, allocations: 19.98 kB / 495.7 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1094, allocations: 4 kB / 495.7 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.73e-05/0.1094, allocations: 3.938 kB / 495.8 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.1095, allocations: 8.031 kB / 495.8 MB, free: 5.684 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 0.0001121/0.1096, allocations: 133.5 kB / 495.9 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.1096, allocations: 7.906 kB / 495.9 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.888e-05/0.1096, allocations: 16.72 kB / 495.9 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1096, allocations: 0 / 495.9 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.1097, allocations: 3.938 kB / 495.9 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.902e-06/0.1097, allocations: 7.922 kB / 495.9 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004312/0.1101, allocations: 399.6 kB / 496.3 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1101, allocations: 0 / 496.3 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.402e-05/0.1102, allocations: 15.94 kB / 496.3 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.1102, allocations: 3.984 kB / 496.3 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1102, allocations: 3.938 kB / 496.3 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1102, allocations: 4 kB / 496.3 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1102, allocations: 0 / 496.3 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.1104, allocations: 200.6 kB / 496.5 MB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.025e-05/0.1105, allocations: 88.91 kB / 496.6 MB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.1105, allocations: 7.938 kB / 496.6 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.857e-05/0.1106, allocations: 8 kB / 496.6 MB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.1106, allocations: 3.984 kB / 496.6 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.1107, allocations: 7.938 kB / 496.7 MB, free: 4.691 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001089/0.1108, allocations: 144 kB / 496.8 MB, free: 4.551 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1108, allocations: 0 / 496.8 MB, free: 4.551 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002371/0.111, allocations: 32.19 kB / 496.8 MB, free: 4.52 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.0009575/0.112, allocations: 457.7 kB / 497.3 MB, free: 4.113 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.1122, allocations: 71.89 kB / 497.3 MB, free: 4.043 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1122, allocations: 0 / 497.3 MB, free: 4.043 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.36e-05/0.1123, allocations: 27.98 kB / 497.4 MB, free: 4.016 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.1126, allocations: 23.58 kB / 497.4 MB, free: 3.996 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004927/0.1131, allocations: 268.2 kB / 497.7 MB, free: 3.699 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.1134, allocations: 0.7043 MB / 498.4 MB, free: 2.969 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.1135, allocations: 15.44 kB / 498.4 MB, free: 2.953 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1135, allocations: 0 / 498.4 MB, free: 2.953 MB / 378.7 MB Notification: Performance of Templates: time 0.003462/0.117, allocations: 1.867 MB / 0.4885 GB, free: 1.086 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches