Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001212/0.001212, allocations: 174 kB / 16.08 MB, free: 5.727 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.434/1.434, allocations: 205.6 MB / 222.4 MB, free: 8.945 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.0007626/0.0007626, allocations: 90.42 kB / 270.8 MB, free: 8.117 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.3162/0.3162, allocations: 43.67 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002765/0.0002765, allocations: 8 kB / 432.3 MB, free: 5.008 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.101, allocations: 58.85 MB / 491.2 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.001891/0.103, allocations: 1.405 MB / 492.6 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.1042, allocations: 0.8253 MB / 493.4 MB, free: 7.754 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.097e-05/0.1042, allocations: 0 / 493.4 MB, free: 7.754 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002363/0.1045, allocations: 35.89 kB / 493.4 MB, free: 7.719 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001622/0.1047, allocations: 43.83 kB / 493.5 MB, free: 7.676 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.1049, allocations: 75.86 kB / 493.6 MB, free: 7.602 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.105, allocations: 87.69 kB / 493.6 MB, free: 7.516 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.516e-05/0.1051, allocations: 20.2 kB / 493.7 MB, free: 7.496 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.598e-05/0.1052, allocations: 39.73 kB / 493.7 MB, free: 7.457 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.605e-05/0.1053, allocations: 27.86 kB / 493.7 MB, free: 7.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.1053, allocations: 4 kB / 493.7 MB, free: 7.426 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.484e-05/0.1054, allocations: 35.97 kB / 493.8 MB, free: 7.391 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.43e-05/0.1054, allocations: 15.92 kB / 493.8 MB, free: 7.375 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.887e-05/0.1055, allocations: 61.44 kB / 493.8 MB, free: 7.309 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.1057, allocations: 111.8 kB / 493.9 MB, free: 7.199 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1057, allocations: 4 kB / 494 MB, free: 7.195 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1057, allocations: 0 / 494 MB, free: 7.195 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.748e-06/0.1057, allocations: 0 / 494 MB, free: 7.195 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.0004482/0.1062, allocations: 395.1 kB / 494.3 MB, free: 6.762 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.1062, allocations: 12.03 kB / 494.3 MB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.1062, allocations: 12.83 kB / 494.4 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.1065, allocations: 208 kB / 494.6 MB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.1065, allocations: 4.375 kB / 494.6 MB, free: 6.492 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.1065, allocations: 8.125 kB / 494.6 MB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.1066, allocations: 57.61 kB / 494.6 MB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1067, allocations: 0 / 494.6 MB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.1067, allocations: 7.984 kB / 494.6 MB, free: 6.414 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1067, allocations: 0 / 494.6 MB, free: 6.414 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.603e-05/0.1068, allocations: 19.94 kB / 494.7 MB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003012/0.1071, allocations: 288.9 kB / 494.9 MB, free: 6.062 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.1072, allocations: 58.62 kB / 495 MB, free: 5.996 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.951e-05/0.1073, allocations: 20.84 kB / 495 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.1073, allocations: 0 / 495 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.1075, allocations: 75.3 kB / 495.1 MB, free: 5.887 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.1075, allocations: 0 / 495.1 MB, free: 5.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000499/0.108, allocations: 169.3 kB / 495.3 MB, free: 5.715 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.1081, allocations: 55.39 kB / 495.3 MB, free: 5.648 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.1082, allocations: 184.8 kB / 495.5 MB, free: 5.457 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.1083, allocations: 29.69 kB / 495.5 MB, free: 5.422 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.221e-05/0.1083, allocations: 116 kB / 495.6 MB, free: 5.305 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.1084, allocations: 19.7 kB / 495.7 MB, free: 5.285 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.1084, allocations: 4 kB / 495.7 MB, free: 5.281 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1085, allocations: 326.8 kB / 496 MB, free: 4.953 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.366e-05/0.1085, allocations: 16 kB / 496 MB, free: 4.938 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.509e-05/0.1086, allocations: 41.64 kB / 496 MB, free: 4.891 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.1087, allocations: 61.77 kB / 496.1 MB, free: 4.824 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1087, allocations: 0 / 496.1 MB, free: 4.824 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001735/0.1089, allocations: 101.5 kB / 496.2 MB, free: 4.719 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1089, allocations: 4 kB / 496.2 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1089, allocations: 4 kB / 496.2 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.109, allocations: 0 / 496.2 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.179e-05/0.1091, allocations: 12 kB / 496.2 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.1091, allocations: 0 / 496.2 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5e-05/0.1091, allocations: 11.92 kB / 496.2 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1091, allocations: 4.031 kB / 496.2 MB, free: 4.684 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.503e-05/0.1092, allocations: 125.8 kB / 496.4 MB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.676e-05/0.1093, allocations: 11.84 kB / 496.4 MB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.976e-05/0.1093, allocations: 20.7 kB / 496.4 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1093, allocations: 0 / 496.4 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1093, allocations: 0 / 496.4 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1093, allocations: 3.938 kB / 496.4 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004049/0.1097, allocations: 395.2 kB / 496.8 MB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1098, allocations: 4 kB / 496.8 MB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.366e-05/0.1098, allocations: 7.984 kB / 496.8 MB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1098, allocations: 7.938 kB / 496.8 MB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1098, allocations: 4.312 kB / 496.8 MB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1098, allocations: 0 / 496.8 MB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.1098, allocations: 8 kB / 496.8 MB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.11, allocations: 200.3 kB / 497 MB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/0.1101, allocations: 92.91 kB / 497.1 MB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.1101, allocations: 11.94 kB / 497.1 MB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.735e-05/0.1102, allocations: 3.938 kB / 497.1 MB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.1102, allocations: 7.984 kB / 497.1 MB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.1103, allocations: 4 kB / 497.1 MB, free: 3.691 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001208/0.1104, allocations: 136.6 kB / 497.3 MB, free: 3.559 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1104, allocations: 192 / 497.3 MB, free: 3.559 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002286/0.1106, allocations: 23.98 kB / 497.3 MB, free: 3.535 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 (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.000959/0.1116, allocations: 0.5388 MB / 497.8 MB, free: 3.133 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001638/0.1118, allocations: 51.92 kB / 497.9 MB, free: 3.082 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1118, allocations: 8 kB / 497.9 MB, free: 3.074 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.553e-05/0.1119, allocations: 27.98 kB / 497.9 MB, free: 3.047 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.1122, allocations: 31.97 kB / 497.9 MB, free: 3.016 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/0.1126, allocations: 246.7 kB / 498.2 MB, free: 2.746 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.1129, allocations: 0.7004 MB / 498.9 MB, free: 2.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.361e-05/0.1129, allocations: 21.17 kB / 498.9 MB, free: 1.996 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.113, allocations: 11.44 kB / 498.9 MB, free: 1.984 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.113, allocations: 0 / 498.9 MB, free: 1.984 MB / 378.7 MB Notification: Performance of Templates: time 0.003917/0.1169, allocations: 1.626 MB / 0.4888 GB, free: 368 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches