Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 175.6 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.369/1.369, 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.0007248/0.0007248, allocations: 88.97 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.3058/0.3058, allocations: 43.56 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.000385, allocations: 12 kB / 432 MB, free: 5.598 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09854/0.09894, allocations: 58.86 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.001776/0.1008, allocations: 1.394 MB / 492.2 MB, free: 9.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.1018, allocations: 0.7422 MB / 493 MB, free: 8.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.728e-05/0.1019, allocations: 4 kB / 493 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002265/0.1021, allocations: 35.83 kB / 493 MB, free: 8.461 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.1023, allocations: 43.83 kB / 493 MB, free: 8.418 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.1025, allocations: 75.84 kB / 493.1 MB, free: 8.344 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.1026, allocations: 87.69 kB / 493.2 MB, free: 8.258 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.809e-05/0.1027, allocations: 16.22 kB / 493.2 MB, free: 8.242 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.604e-05/0.1028, allocations: 35.84 kB / 493.3 MB, free: 8.207 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.964e-05/0.1029, allocations: 31.78 kB / 493.3 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.1029, allocations: 4 kB / 493.3 MB, free: 8.172 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.336e-05/0.103, allocations: 28 kB / 493.3 MB, free: 8.145 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.918e-05/0.103, allocations: 23.84 kB / 493.3 MB, free: 8.121 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.123e-05/0.1031, allocations: 53.5 kB / 493.4 MB, free: 8.062 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.1032, allocations: 88.09 kB / 493.5 MB, free: 7.977 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1032, allocations: 0 / 493.5 MB, free: 7.977 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1032, allocations: 4 kB / 493.5 MB, free: 7.973 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.1032, allocations: 0 / 493.5 MB, free: 7.973 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.000438/0.1037, allocations: 398.7 kB / 493.9 MB, free: 7.539 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.1037, allocations: 8.031 kB / 493.9 MB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.1038, allocations: 16.83 kB / 493.9 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.104, allocations: 204 kB / 494.1 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.104, allocations: 8.375 kB / 494.1 MB, free: 7.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.55e-05/0.104, allocations: 4.125 kB / 494.1 MB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.1042, allocations: 61.61 kB / 494.2 MB, free: 7.199 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1042, allocations: 0 / 494.2 MB, free: 7.199 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.1042, allocations: 7.984 kB / 494.2 MB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1042, allocations: 0 / 494.2 MB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.477e-05/0.1043, allocations: 15.98 kB / 494.2 MB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003139/0.1046, allocations: 292.8 kB / 494.5 MB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.1048, allocations: 62.61 kB / 494.5 MB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.844e-05/0.1048, allocations: 20.84 kB / 494.6 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.1049, allocations: 4 kB / 494.6 MB, free: 6.742 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.105, allocations: 67.3 kB / 494.6 MB, free: 6.664 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.105, allocations: 0 / 494.6 MB, free: 6.664 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004735/0.1055, allocations: 169.5 kB / 494.8 MB, free: 6.492 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.1055, allocations: 55.41 kB / 494.9 MB, free: 6.426 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.1057, allocations: 190.1 kB / 495 MB, free: 6.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.1057, allocations: 29.64 kB / 495.1 MB, free: 6.195 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/0.1058, allocations: 96.14 kB / 495.2 MB, free: 6.098 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.1058, allocations: 27.64 kB / 495.2 MB, free: 6.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.1058, allocations: 4 kB / 495.2 MB, free: 6.066 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.959e-05/0.1059, allocations: 326.8 kB / 495.5 MB, free: 5.738 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.342e-05/0.106, allocations: 23.98 kB / 495.5 MB, free: 5.715 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.581e-05/0.1061, allocations: 37.7 kB / 495.6 MB, free: 5.672 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.1062, allocations: 49.72 kB / 495.6 MB, free: 5.617 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1062, allocations: 0 / 495.6 MB, free: 5.617 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001672/0.1064, allocations: 109.5 kB / 495.7 MB, free: 5.504 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.1064, allocations: 4 kB / 495.7 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1064, allocations: 0 / 495.7 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.1064, allocations: 4.031 kB / 495.7 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.849e-05/0.1065, allocations: 19.94 kB / 495.8 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1065, allocations: 0 / 495.8 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.649e-05/0.1066, allocations: 11.92 kB / 495.8 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.1066, allocations: 0 / 495.8 MB, free: 5.465 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.242e-05/0.1067, allocations: 129.6 kB / 495.9 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.1067, allocations: 11.91 kB / 495.9 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.592e-05/0.1067, allocations: 16.7 kB / 495.9 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1067, allocations: 0 / 495.9 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1067, allocations: 4 kB / 495.9 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1068, allocations: 7.875 kB / 495.9 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003929/0.1072, allocations: 399.4 kB / 496.3 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1072, allocations: 0 / 496.3 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.198e-05/0.1072, allocations: 11.98 kB / 496.3 MB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1072, allocations: 0 / 496.3 MB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.1072, allocations: 7.938 kB / 496.3 MB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1072, allocations: 192 / 496.3 MB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1072, allocations: 4.031 kB / 496.3 MB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.1074, allocations: 204.2 kB / 496.5 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.478e-05/0.1075, allocations: 92.91 kB / 496.6 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.1075, allocations: 3.938 kB / 496.6 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.757e-05/0.1076, allocations: 8 kB / 496.6 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.1076, allocations: 7.984 kB / 496.7 MB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.1077, allocations: 8 kB / 496.7 MB, free: 4.469 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001088/0.1078, allocations: 140.1 kB / 496.8 MB, free: 4.332 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1078, allocations: 0 / 496.8 MB, free: 4.332 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002314/0.108, allocations: 27.98 kB / 496.8 MB, free: 4.305 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.0008928/0.1089, allocations: 464.6 kB / 497.3 MB, free: 3.891 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001547/0.1091, allocations: 55.91 kB / 497.3 MB, free: 3.836 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1091, allocations: 0 / 497.3 MB, free: 3.836 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.506e-05/0.1092, allocations: 27.94 kB / 497.4 MB, free: 3.809 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.1095, allocations: 31.97 kB / 497.4 MB, free: 3.777 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003998/0.1099, allocations: 260.2 kB / 497.6 MB, free: 3.488 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.1101, allocations: 0.7004 MB / 498.3 MB, free: 2.762 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.1102, allocations: 23.42 kB / 498.4 MB, free: 2.738 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1102, allocations: 0 / 498.4 MB, free: 2.738 MB / 378.7 MB Notification: Performance of Templates: time 0.003188/0.1134, allocations: 1.875 MB / 0.4885 GB, free: 0.8633 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches