Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00155/0.00155, allocations: 180 kB / 16.08 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.6 MB / 222.4 MB, free: 13.68 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008144/0.0008144, allocations: 98.17 kB / 270.8 MB, free: 13.19 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1964/0.1964, allocations: 43.68 MB / 362.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000308/0.0003081, allocations: 8 kB / 432.3 MB, free: 19.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09651/0.09683, allocations: 58.85 MB / 491.2 MB, free: 8.129 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.001968/0.09885, allocations: 1.394 MB / 492.6 MB, free: 6.719 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.1002, allocations: 0.8214 MB / 493.4 MB, free: 5.871 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.898e-05/0.1003, allocations: 7.938 kB / 493.4 MB, free: 5.863 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.1005, allocations: 19.91 kB / 493.4 MB, free: 5.844 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.1007, allocations: 47.83 kB / 493.5 MB, free: 5.797 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.101, allocations: 71.86 kB / 493.5 MB, free: 5.727 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.1012, allocations: 95.67 kB / 493.6 MB, free: 5.633 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.537e-05/0.1013, allocations: 16.23 kB / 493.6 MB, free: 5.617 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.743e-05/0.1014, allocations: 39.73 kB / 493.7 MB, free: 5.578 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.583e-05/0.1015, allocations: 23.84 kB / 493.7 MB, free: 5.555 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.1015, allocations: 4 kB / 493.7 MB, free: 5.551 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.097e-05/0.1016, allocations: 39.98 kB / 493.8 MB, free: 5.512 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.1017, allocations: 11.92 kB / 493.8 MB, free: 5.5 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.807e-05/0.1017, allocations: 57.5 kB / 493.8 MB, free: 5.438 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.1019, allocations: 103.9 kB / 493.9 MB, free: 5.336 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.1019, allocations: 3.984 kB / 493.9 MB, free: 5.332 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1019, allocations: 0 / 493.9 MB, free: 5.332 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.636e-06/0.1019, allocations: 0 / 493.9 MB, free: 5.332 MB / 330.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.0004738/0.1024, allocations: 383.3 kB / 494.3 MB, free: 4.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.1024, allocations: 8.031 kB / 494.3 MB, free: 4.902 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.1025, allocations: 16.75 kB / 494.3 MB, free: 4.887 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.1027, allocations: 204.8 kB / 494.5 MB, free: 4.648 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.1027, allocations: 7.922 kB / 494.5 MB, free: 4.641 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.1027, allocations: 4 kB / 494.5 MB, free: 4.637 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.1029, allocations: 57.61 kB / 494.6 MB, free: 4.574 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1029, allocations: 0 / 494.6 MB, free: 4.574 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.1029, allocations: 7.984 kB / 494.6 MB, free: 4.566 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.1029, allocations: 0 / 494.6 MB, free: 4.566 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.566e-05/0.103, allocations: 19.98 kB / 494.6 MB, free: 4.547 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003412/0.1033, allocations: 288.7 kB / 494.9 MB, free: 4.215 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.1035, allocations: 54.62 kB / 495 MB, free: 4.152 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.074e-05/0.1036, allocations: 24.84 kB / 495 MB, free: 4.125 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.1036, allocations: 4 kB / 495 MB, free: 4.121 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.1038, allocations: 63.39 kB / 495 MB, free: 4.047 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.1038, allocations: 0 / 495 MB, free: 4.047 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004793/0.1043, allocations: 165.3 kB / 495.2 MB, free: 3.879 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.1043, allocations: 55.34 kB / 495.3 MB, free: 3.812 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.1045, allocations: 167.7 kB / 495.4 MB, free: 3.637 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.1045, allocations: 25.7 kB / 495.4 MB, free: 3.605 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.484e-05/0.1045, allocations: 100.1 kB / 495.5 MB, free: 3.504 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.1046, allocations: 27.64 kB / 495.6 MB, free: 3.477 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/0.1046, allocations: 0 / 495.6 MB, free: 3.477 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1047, allocations: 322.8 kB / 495.9 MB, free: 3.152 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.586e-05/0.1048, allocations: 19.98 kB / 495.9 MB, free: 3.133 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.511e-05/0.1049, allocations: 45.58 kB / 496 MB, free: 3.082 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.987e-05/0.105, allocations: 57.72 kB / 496 MB, free: 3.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.105, allocations: 0 / 496 MB, free: 3.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001738/0.1051, allocations: 101.4 kB / 496.1 MB, free: 2.914 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.1052, allocations: 4 kB / 496.1 MB, free: 2.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.1052, allocations: 4 kB / 496.1 MB, free: 2.906 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.1052, allocations: 3.938 kB / 496.1 MB, free: 2.902 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.706e-05/0.1053, allocations: 12 kB / 496.1 MB, free: 2.891 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1053, allocations: 4.031 kB / 496.1 MB, free: 2.887 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/0.1053, allocations: 11.98 kB / 496.1 MB, free: 2.875 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1054, allocations: 4 kB / 496.2 MB, free: 2.871 MB / 330.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.659e-05/0.1055, allocations: 121.7 kB / 496.3 MB, free: 2.742 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.1055, allocations: 11.91 kB / 496.3 MB, free: 2.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.144e-05/0.1055, allocations: 24.58 kB / 496.3 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1055, allocations: 0 / 496.3 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1055, allocations: 384 / 496.3 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.1056, allocations: 0 / 496.3 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003975/0.106, allocations: 395.3 kB / 496.7 MB, free: 2.254 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.106, allocations: 4 kB / 496.7 MB, free: 2.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.306e-05/0.106, allocations: 8 kB / 496.7 MB, free: 2.242 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.106, allocations: 0 / 496.7 MB, free: 2.242 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.106, allocations: 7.984 kB / 496.7 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.106, allocations: 0 / 496.7 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.106, allocations: 0 / 496.7 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.1063, allocations: 208.2 kB / 496.9 MB, free: 2.012 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.393e-05/0.1063, allocations: 92.86 kB / 497 MB, free: 1.902 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.1064, allocations: 4 kB / 497 MB, free: 1.898 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-05/0.1064, allocations: 7.984 kB / 497 MB, free: 1.891 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.1065, allocations: 4 kB / 497 MB, free: 1.887 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.1065, allocations: 4 kB / 497 MB, free: 1.883 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.287e-05/0.1066, allocations: 125.5 kB / 497.1 MB, free: 1.762 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1066, allocations: 0 / 497.1 MB, free: 1.762 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002295/0.1068, allocations: 27.98 kB / 497.2 MB, free: 1.734 MB / 330.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000952/0.1078, allocations: 0.5315 MB / 497.7 MB, free: 1.344 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001595/0.108, allocations: 64.03 kB / 497.8 MB, free: 1.281 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.108, allocations: 0 / 497.8 MB, free: 1.281 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.332e-05/0.108, allocations: 27.94 kB / 497.8 MB, free: 1.254 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.1083, allocations: 27.42 kB / 497.8 MB, free: 1.23 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003605/0.1087, allocations: 226.2 kB / 498 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.109, allocations: 0.6965 MB / 498.7 MB, free: 268 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.394e-05/0.109, allocations: 21.17 kB / 498.8 MB, free: 244 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.1091, allocations: 19.44 kB / 498.8 MB, free: 224 kB / 330.7 MB Notification: Performance of SimCode: time 1.91e-07/0.1091, allocations: 0 / 498.8 MB, free: 224 kB / 330.7 MB Notification: Performance of Templates: time 0.003729/0.1128, allocations: 1.604 MB / 0.4887 GB, free: 14.62 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches