Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,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.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,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.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001524/0.001524, allocations: 177.5 kB / 16.41 MB, free: 5.707 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.475/1.475, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0007737/0.0007737, allocations: 94.28 kB / 270.9 MB, free: 8.363 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.2999/0.2999, allocations: 43.56 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003607, allocations: 23.98 kB / 431.4 MB, free: 5.926 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1021, allocations: 58.85 MB / 490.3 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.001895/0.104, allocations: 1.39 MB / 491.6 MB, free: 9.586 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1051, allocations: 0.7383 MB / 492.4 MB, free: 8.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.051e-05/0.1052, allocations: 4 kB / 492.4 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002623/0.1055, allocations: 51.81 kB / 492.4 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.1056, allocations: 47.81 kB / 492.5 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.1059, allocations: 75.84 kB / 492.6 MB, free: 8.664 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.106, allocations: 79.75 kB / 492.6 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.414e-05/0.1061, allocations: 12.22 kB / 492.6 MB, free: 8.574 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.221e-05/0.1062, allocations: 39.8 kB / 492.7 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.263e-05/0.1063, allocations: 35.83 kB / 492.7 MB, free: 8.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.1063, allocations: 4 kB / 492.7 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.037e-05/0.1064, allocations: 32 kB / 492.8 MB, free: 8.465 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.306e-05/0.1064, allocations: 23.84 kB / 492.8 MB, free: 8.441 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.307e-05/0.1065, allocations: 41.64 kB / 492.8 MB, free: 8.395 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.1066, allocations: 88.03 kB / 492.9 MB, free: 8.309 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1066, allocations: 4 kB / 492.9 MB, free: 8.305 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1066, allocations: 0 / 492.9 MB, free: 8.305 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1066, allocations: 0 / 492.9 MB, free: 8.305 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.0004894/0.1071, allocations: 414.8 kB / 493.3 MB, free: 7.852 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.1072, allocations: 12.02 kB / 493.3 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.1072, allocations: 11.81 kB / 493.3 MB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.1074, allocations: 206.9 kB / 493.5 MB, free: 7.586 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.1075, allocations: 4 kB / 493.5 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.1075, allocations: 3.984 kB / 493.5 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.1076, allocations: 57.61 kB / 493.6 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-06/0.1077, allocations: 3.938 kB / 493.6 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.1077, allocations: 8 kB / 493.6 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1077, allocations: 3.953 kB / 493.6 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.844e-05/0.1078, allocations: 19.98 kB / 493.6 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.1081, allocations: 292.8 kB / 493.9 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.1083, allocations: 58.62 kB / 494 MB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.292e-05/0.1084, allocations: 24.84 kB / 494 MB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.1084, allocations: 0 / 494 MB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.1086, allocations: 71.34 kB / 494.1 MB, free: 6.969 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1086, allocations: 0 / 494.1 MB, free: 6.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005118/0.1091, allocations: 177.2 kB / 494.2 MB, free: 6.789 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/0.1092, allocations: 51.41 kB / 494.3 MB, free: 6.727 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.1094, allocations: 222.7 kB / 494.5 MB, free: 6.496 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.1094, allocations: 29.7 kB / 494.5 MB, free: 6.461 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.1095, allocations: 112 kB / 494.7 MB, free: 6.348 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.1095, allocations: 23.66 kB / 494.7 MB, free: 6.324 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.1095, allocations: 0 / 494.7 MB, free: 6.324 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1096, allocations: 322.8 kB / 495 MB, free: 6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.743e-05/0.1097, allocations: 27.92 kB / 495 MB, free: 5.973 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.139e-05/0.1098, allocations: 41.64 kB / 495.1 MB, free: 5.926 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.096e-05/0.1098, allocations: 20 kB / 495.1 MB, free: 5.906 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1098, allocations: 0 / 495.1 MB, free: 5.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001783/0.11, allocations: 105.5 kB / 495.2 MB, free: 5.797 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.11, allocations: 4 kB / 495.2 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.11, allocations: 0 / 495.2 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1101, allocations: 4 kB / 495.2 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.576e-05/0.1102, allocations: 15.94 kB / 495.2 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1102, allocations: 3.984 kB / 495.2 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.003e-05/0.1102, allocations: 8.031 kB / 495.2 MB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.1102, allocations: 8 kB / 495.2 MB, free: 5.754 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.0001003/0.1103, allocations: 126.9 kB / 495.3 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.1104, allocations: 15.77 kB / 495.4 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.068e-05/0.1104, allocations: 17.41 kB / 495.4 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1104, allocations: 0 / 495.4 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1104, allocations: 0 / 495.4 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1104, allocations: 3.984 kB / 495.4 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004447/0.1109, allocations: 407.2 kB / 495.8 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1109, allocations: 0 / 495.8 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.323e-05/0.1109, allocations: 8 kB / 495.8 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.111, allocations: 4 kB / 495.8 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.111, allocations: 0 / 495.8 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.111, allocations: 7.922 kB / 495.8 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.111, allocations: 0 / 495.8 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.1112, allocations: 212.5 kB / 496 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/0.1113, allocations: 84.97 kB / 496.1 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.1113, allocations: 4 kB / 496.1 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.484e-05/0.1114, allocations: 11.98 kB / 496.1 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.1114, allocations: 0 / 496.1 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.1114, allocations: 4 kB / 496.1 MB, free: 4.762 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001327/0.1116, allocations: 175.2 kB / 496.3 MB, free: 4.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1116, allocations: 4 kB / 496.3 MB, free: 4.586 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002394/0.1118, allocations: 24 kB / 496.3 MB, free: 4.562 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.0009357/0.1128, allocations: 480.7 kB / 496.8 MB, free: 4.141 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001703/0.1129, allocations: 55.98 kB / 496.8 MB, free: 4.086 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.113, allocations: 0 / 496.8 MB, free: 4.086 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.654e-05/0.113, allocations: 31.92 kB / 496.9 MB, free: 4.055 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.1134, allocations: 20.17 kB / 496.9 MB, free: 4.035 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004616/0.1139, allocations: 311.8 kB / 497.2 MB, free: 3.695 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.1141, allocations: 0.7082 MB / 497.9 MB, free: 2.961 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.05e-05/0.1142, allocations: 23.42 kB / 497.9 MB, free: 2.938 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1142, allocations: 0 / 497.9 MB, free: 2.938 MB / 378.7 MB Notification: Performance of Templates: time 0.00336/0.1176, allocations: 1.937 MB / 499.9 MB, free: 1 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches