Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001324/0.001324, allocations: 180 kB / 16.08 MB, free: 5.484 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.408/1.408, allocations: 205.6 MB / 222.4 MB, free: 8.93 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.0007653/0.0007655, allocations: 87.5 kB / 270.8 MB, free: 8.125 MB / 218.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.3117/0.3117, allocations: 43.67 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000284/0.0002841, allocations: 12 kB / 432.3 MB, free: 4.781 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09939/0.09969, allocations: 58.85 MB / 491.2 MB, free: 9.801 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.001803/0.1015, allocations: 1.369 MB / 492.5 MB, free: 8.418 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.1027, allocations: 0.8109 MB / 493.3 MB, free: 7.582 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.32e-05/0.1028, allocations: 0 / 493.3 MB, free: 7.582 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000257/0.1031, allocations: 55.8 kB / 493.4 MB, free: 7.527 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.1033, allocations: 59.81 kB / 493.5 MB, free: 7.469 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.1035, allocations: 67.84 kB / 493.5 MB, free: 7.402 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.1037, allocations: 91.7 kB / 493.6 MB, free: 7.312 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.41e-05/0.1037, allocations: 11.97 kB / 493.6 MB, free: 7.301 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.592e-05/0.1038, allocations: 35.8 kB / 493.7 MB, free: 7.266 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.575e-05/0.1039, allocations: 35.83 kB / 493.7 MB, free: 7.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.1039, allocations: 4 kB / 493.7 MB, free: 7.227 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.281e-05/0.104, allocations: 23.94 kB / 493.7 MB, free: 7.203 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.993e-05/0.1041, allocations: 27.92 kB / 493.8 MB, free: 7.176 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.917e-05/0.1041, allocations: 69.36 kB / 493.8 MB, free: 7.102 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.1043, allocations: 103.9 kB / 493.9 MB, free: 7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1043, allocations: 0 / 493.9 MB, free: 7 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1043, allocations: 0 / 493.9 MB, free: 7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.1043, allocations: 3.938 kB / 493.9 MB, free: 6.996 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.00045/0.1048, allocations: 414.9 kB / 494.3 MB, free: 6.543 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.1048, allocations: 12.03 kB / 494.3 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.1049, allocations: 16.75 kB / 494.4 MB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.1051, allocations: 223.7 kB / 494.6 MB, free: 6.258 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.1051, allocations: 4.375 kB / 494.6 MB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.1051, allocations: 4.125 kB / 494.6 MB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.1053, allocations: 45.67 kB / 494.6 MB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.1053, allocations: 4 kB / 494.6 MB, free: 6.195 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1053, allocations: 4 kB / 494.6 MB, free: 6.191 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1053, allocations: 0 / 494.6 MB, free: 6.191 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.953e-05/0.1054, allocations: 11.98 kB / 494.6 MB, free: 6.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.1056, allocations: 189.7 kB / 494.8 MB, free: 5.945 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.1057, allocations: 54.55 kB / 494.9 MB, free: 5.883 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.264e-05/0.1058, allocations: 24.78 kB / 494.9 MB, free: 5.855 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.1058, allocations: 4 kB / 494.9 MB, free: 5.852 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.106, allocations: 67.39 kB / 495 MB, free: 5.773 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.106, allocations: 3.938 kB / 495 MB, free: 5.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002457/0.1062, allocations: 97.42 kB / 495.1 MB, free: 5.668 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.1063, allocations: 55.41 kB / 495.1 MB, free: 5.602 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.1065, allocations: 251.7 kB / 495.4 MB, free: 5.344 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.1065, allocations: 29.7 kB / 495.4 MB, free: 5.309 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/0.1066, allocations: 116.1 kB / 495.5 MB, free: 5.191 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.1066, allocations: 7.906 kB / 495.5 MB, free: 5.184 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.1066, allocations: 0 / 495.5 MB, free: 5.184 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1067, allocations: 330.8 kB / 495.9 MB, free: 4.852 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.843e-05/0.1068, allocations: 15.98 kB / 495.9 MB, free: 4.836 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.607e-05/0.1068, allocations: 33.69 kB / 495.9 MB, free: 4.797 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.768e-05/0.1069, allocations: 41.91 kB / 495.9 MB, free: 4.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1069, allocations: 0 / 495.9 MB, free: 4.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001505/0.1071, allocations: 97.45 kB / 496 MB, free: 4.648 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.1071, allocations: 4 kB / 496 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.1071, allocations: 0 / 496 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.1071, allocations: 0 / 496 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.1073, allocations: 15.94 kB / 496.1 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1073, allocations: 0 / 496.1 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.636e-05/0.1073, allocations: 15.92 kB / 496.1 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.1074, allocations: 0 / 496.1 MB, free: 4.613 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.1075, allocations: 133.8 kB / 496.2 MB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.1075, allocations: 15.81 kB / 496.2 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.919e-05/0.1075, allocations: 17 kB / 496.2 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1075, allocations: 0 / 496.2 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1075, allocations: 0 / 496.2 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.1076, allocations: 3.984 kB / 496.2 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.1077, allocations: 197.6 kB / 496.4 MB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1077, allocations: 0 / 496.4 MB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.245e-05/0.1077, allocations: 7.984 kB / 496.4 MB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1078, allocations: 0 / 496.4 MB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.1078, allocations: 0 / 496.4 MB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1078, allocations: 0 / 496.4 MB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.1078, allocations: 7.984 kB / 496.4 MB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.108, allocations: 120.8 kB / 496.6 MB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.483e-05/0.108, allocations: 88.92 kB / 496.7 MB, free: 3.938 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.1081, allocations: 0 / 496.7 MB, free: 3.938 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.222e-05/0.1081, allocations: 7.984 kB / 496.7 MB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.627e-05/0.1081, allocations: 4 kB / 496.7 MB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.1082, allocations: 4 kB / 496.7 MB, free: 3.922 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001539/0.1083, allocations: 199 kB / 496.9 MB, free: 3.727 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1083, allocations: 3.938 kB / 496.9 MB, free: 3.723 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001995/0.1085, allocations: 23.92 kB / 496.9 MB, free: 3.699 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 (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.0008365/0.1094, allocations: 466.7 kB / 497.3 MB, free: 3.359 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001347/0.1095, allocations: 43.92 kB / 497.4 MB, free: 3.316 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1095, allocations: 0 / 497.4 MB, free: 3.316 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.786e-05/0.1096, allocations: 19.98 kB / 497.4 MB, free: 3.297 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.1098, allocations: 35.64 kB / 497.4 MB, free: 3.266 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004271/0.1103, allocations: 280.5 kB / 497.7 MB, free: 2.969 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.1105, allocations: 0.7198 MB / 498.4 MB, free: 2.223 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.065e-05/0.1106, allocations: 12.55 kB / 498.4 MB, free: 2.211 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.893e-05/0.1106, allocations: 15.44 kB / 498.5 MB, free: 2.195 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1106, allocations: 0 / 498.5 MB, free: 2.195 MB / 378.7 MB Notification: Performance of Templates: time 0.003582/0.1142, allocations: 1.44 MB / 499.9 MB, free: 0.7578 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches