Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 173.7 kB / 16.72 MB, free: 5.086 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.278/1.278, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0006864/0.0006865, allocations: 98.23 kB / 271.2 MB, free: 8.254 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.2867/0.2867, allocations: 43.56 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003657, allocations: 12 kB / 432 MB, free: 5.602 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09844/0.09882, allocations: 58.86 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.001888/0.1007, allocations: 1.361 MB / 492.2 MB, free: 9.273 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.1019, allocations: 0.7317 MB / 492.9 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.22e-05/0.1019, allocations: 0 / 492.9 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002611/0.1022, allocations: 51.8 kB / 493 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.1024, allocations: 55.81 kB / 493 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.1027, allocations: 63.84 kB / 493.1 MB, free: 8.367 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.1028, allocations: 79.77 kB / 493.2 MB, free: 8.289 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.283e-05/0.1029, allocations: 7.984 kB / 493.2 MB, free: 8.281 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.25e-05/0.103, allocations: 39.78 kB / 493.2 MB, free: 8.242 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.537e-05/0.1031, allocations: 27.84 kB / 493.2 MB, free: 8.215 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.1031, allocations: 4 kB / 493.2 MB, free: 8.211 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.771e-05/0.1032, allocations: 27.98 kB / 493.3 MB, free: 8.184 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.55e-05/0.1032, allocations: 31.86 kB / 493.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.112e-05/0.1033, allocations: 61.44 kB / 493.4 MB, free: 8.086 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.1034, allocations: 88.03 kB / 493.5 MB, free: 8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1035, allocations: 0 / 493.5 MB, free: 8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1035, allocations: 0 / 493.5 MB, free: 8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.1035, allocations: 0 / 493.5 MB, free: 8 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004819/0.104, allocations: 411 kB / 493.9 MB, free: 7.551 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.104, allocations: 8.031 kB / 493.9 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.104, allocations: 12.75 kB / 493.9 MB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.1043, allocations: 231.7 kB / 494.1 MB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.1043, allocations: 384 / 494.1 MB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.1044, allocations: 8.062 kB / 494.1 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.1045, allocations: 49.67 kB / 494.2 MB, free: 7.203 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.954e-06/0.1045, allocations: 0 / 494.2 MB, free: 7.203 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.1045, allocations: 0 / 494.2 MB, free: 7.203 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.1046, allocations: 0 / 494.2 MB, free: 7.203 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.278e-05/0.1046, allocations: 12 kB / 494.2 MB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001989/0.1048, allocations: 197.7 kB / 494.4 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.105, allocations: 54.55 kB / 494.4 MB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.08e-05/0.105, allocations: 24.8 kB / 494.4 MB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.1051, allocations: 3.938 kB / 494.4 MB, free: 6.855 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.1052, allocations: 63.39 kB / 494.5 MB, free: 6.781 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.1053, allocations: 7.938 kB / 494.5 MB, free: 6.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002664/0.1055, allocations: 101.5 kB / 494.6 MB, free: 6.668 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.1056, allocations: 55.34 kB / 494.7 MB, free: 6.602 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.1058, allocations: 255.7 kB / 494.9 MB, free: 6.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.1058, allocations: 25.7 kB / 494.9 MB, free: 6.309 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.034e-05/0.1059, allocations: 112.1 kB / 495.1 MB, free: 6.195 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.106, allocations: 7.906 kB / 495.1 MB, free: 6.188 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.106, allocations: 0 / 495.1 MB, free: 6.188 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1061, allocations: 330.8 kB / 495.4 MB, free: 5.855 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.691e-05/0.1061, allocations: 15.98 kB / 495.4 MB, free: 5.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.304e-05/0.1062, allocations: 29.7 kB / 495.4 MB, free: 5.805 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.223e-05/0.1063, allocations: 37.72 kB / 495.5 MB, free: 5.762 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1063, allocations: 0 / 495.5 MB, free: 5.762 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001487/0.1065, allocations: 93.36 kB / 495.6 MB, free: 5.664 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.1065, allocations: 11.47 kB / 495.6 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1065, allocations: 0 / 495.6 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1065, allocations: 7.984 kB / 495.6 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.966e-05/0.1066, allocations: 8 kB / 495.6 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1066, allocations: 3.938 kB / 495.6 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.882e-05/0.1067, allocations: 11.94 kB / 495.6 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.1067, allocations: 0 / 495.6 MB, free: 5.625 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 (7): * Single equations (assignments): 7 * 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.0001055/0.1068, allocations: 141.4 kB / 495.7 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.922e-05/0.1068, allocations: 15.81 kB / 495.8 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.407e-05/0.1069, allocations: 17 kB / 495.8 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.1069, allocations: 4 kB / 495.8 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1069, allocations: 0 / 495.8 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1069, allocations: 0 / 495.8 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.107, allocations: 201.5 kB / 496 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.107, allocations: 0 / 496 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.001e-05/0.1071, allocations: 4 kB / 496 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1071, allocations: 4.297 kB / 496 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1071, allocations: 0 / 496 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1071, allocations: 4 kB / 496 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.1071, allocations: 4 kB / 496 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.1073, allocations: 124.7 kB / 496.1 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-05/0.1073, allocations: 88.92 kB / 496.2 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.1074, allocations: 0 / 496.2 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.195e-05/0.1074, allocations: 7.984 kB / 496.2 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.1074, allocations: 4 kB / 496.2 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.1075, allocations: 4 kB / 496.2 MB, free: 4.922 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001524/0.1076, allocations: 203 kB / 496.4 MB, free: 4.723 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1076, allocations: 0 / 496.4 MB, free: 4.723 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002042/0.1078, allocations: 27.94 kB / 496.4 MB, free: 4.695 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008463/0.1087, allocations: 402.2 kB / 496.8 MB, free: 4.336 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001453/0.1088, allocations: 39.92 kB / 496.9 MB, free: 4.297 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.1089, allocations: 4 kB / 496.9 MB, free: 4.293 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.684e-05/0.1089, allocations: 15.98 kB / 496.9 MB, free: 4.277 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.1092, allocations: 27.98 kB / 496.9 MB, free: 4.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004564/0.1096, allocations: 307.5 kB / 497.2 MB, free: 3.918 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.1099, allocations: 0.716 MB / 497.9 MB, free: 3.176 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.11, allocations: 15.44 kB / 497.9 MB, free: 3.16 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.11, allocations: 0 / 497.9 MB, free: 3.16 MB / 378.7 MB Notification: Performance of Templates: time 0.003368/0.1133, allocations: 1.801 MB / 499.7 MB, free: 1.363 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches