Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,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.Test19") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008489/0.000849, allocations: 181 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.386/1.386, allocations: 205.6 MB / 222.4 MB, free: 13.67 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.0007777/0.0007777, allocations: 102.2 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.1866/0.1866, allocations: 43.68 MB / 362.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002944/0.0002944, allocations: 11.98 kB / 432.3 MB, free: 19.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09836/0.09867, allocations: 58.86 MB / 491.2 MB, free: 8.129 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002193/0.1009, allocations: 1.394 MB / 492.6 MB, free: 6.719 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.1023, allocations: 0.8175 MB / 493.4 MB, free: 5.875 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.262e-05/0.1024, allocations: 7.938 kB / 493.4 MB, free: 5.867 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002684/0.1027, allocations: 31.89 kB / 493.4 MB, free: 5.836 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.1029, allocations: 47.83 kB / 493.5 MB, free: 5.789 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.1032, allocations: 75.84 kB / 493.6 MB, free: 5.715 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.1034, allocations: 99.69 kB / 493.7 MB, free: 5.617 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.81e-05/0.1035, allocations: 4.234 kB / 493.7 MB, free: 5.613 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.209e-05/0.1036, allocations: 43.72 kB / 493.7 MB, free: 5.57 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.074e-05/0.1037, allocations: 27.86 kB / 493.7 MB, free: 5.543 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.1037, allocations: 0 / 493.7 MB, free: 5.543 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.1038, allocations: 35.98 kB / 493.8 MB, free: 5.508 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.91e-05/0.1039, allocations: 19.92 kB / 493.8 MB, free: 5.488 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.532e-05/0.104, allocations: 61.44 kB / 493.8 MB, free: 5.422 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.1042, allocations: 115.8 kB / 494 MB, free: 5.309 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1042, allocations: 3.984 kB / 494 MB, free: 5.305 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1042, allocations: 0 / 494 MB, free: 5.305 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1042, allocations: 0 / 494 MB, free: 5.305 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.0005814/0.1048, allocations: 387.2 kB / 494.3 MB, free: 4.879 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.1049, allocations: 8.031 kB / 494.3 MB, free: 4.871 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.501e-05/0.1049, allocations: 12.84 kB / 494.4 MB, free: 4.859 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.1052, allocations: 208.1 kB / 494.6 MB, free: 4.617 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.1052, allocations: 4.375 kB / 494.6 MB, free: 4.613 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.1052, allocations: 8.125 kB / 494.6 MB, free: 4.605 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.1054, allocations: 57.61 kB / 494.6 MB, free: 4.543 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.567e-06/0.1054, allocations: 3.938 kB / 494.6 MB, free: 4.539 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.1054, allocations: 0 / 494.6 MB, free: 4.539 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1054, allocations: 0 / 494.6 MB, free: 4.539 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.39e-05/0.1055, allocations: 23.98 kB / 494.7 MB, free: 4.516 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003406/0.1058, allocations: 284.8 kB / 494.9 MB, free: 4.188 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.106, allocations: 66.59 kB / 495 MB, free: 4.113 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.57e-05/0.1061, allocations: 16.86 kB / 495 MB, free: 4.094 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.1061, allocations: 4 kB / 495 MB, free: 4.09 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.1063, allocations: 63.39 kB / 495.1 MB, free: 4.016 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1063, allocations: 4 kB / 495.1 MB, free: 4.012 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005593/0.1069, allocations: 177.2 kB / 495.3 MB, free: 3.832 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.1069, allocations: 51.41 kB / 495.3 MB, free: 3.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.1071, allocations: 189.2 kB / 495.5 MB, free: 3.578 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.1071, allocations: 29.7 kB / 495.5 MB, free: 3.543 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.099e-05/0.1072, allocations: 108 kB / 495.6 MB, free: 3.434 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.1073, allocations: 19.72 kB / 495.6 MB, free: 3.414 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.1073, allocations: 0 / 495.6 MB, free: 3.414 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1074, allocations: 334.8 kB / 496 MB, free: 3.078 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.827e-05/0.1075, allocations: 15.98 kB / 496 MB, free: 3.062 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.378e-05/0.1076, allocations: 45.58 kB / 496 MB, free: 3.012 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.1077, allocations: 57.7 kB / 496.1 MB, free: 2.949 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1077, allocations: 0 / 496.1 MB, free: 2.949 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001793/0.1079, allocations: 93.53 kB / 496.2 MB, free: 2.852 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.1079, allocations: 12.03 kB / 496.2 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.1079, allocations: 0 / 496.2 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1079, allocations: 0 / 496.2 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.324e-05/0.108, allocations: 15.98 kB / 496.2 MB, free: 2.824 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.108, allocations: 4 kB / 496.2 MB, free: 2.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.852e-05/0.1081, allocations: 7.938 kB / 496.2 MB, free: 2.812 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.1081, allocations: 4.156 kB / 496.2 MB, free: 2.809 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 0.0001042/0.1082, allocations: 129.8 kB / 496.3 MB, free: 2.672 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.936e-05/0.1082, allocations: 15.81 kB / 496.4 MB, free: 2.656 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.628e-05/0.1083, allocations: 20.7 kB / 496.4 MB, free: 2.629 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1083, allocations: 0 / 496.4 MB, free: 2.629 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1083, allocations: 0 / 496.4 MB, free: 2.629 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.1083, allocations: 7.922 kB / 496.4 MB, free: 2.621 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004243/0.1087, allocations: 391.3 kB / 496.8 MB, free: 2.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1087, allocations: 0 / 496.8 MB, free: 2.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.341e-05/0.1088, allocations: 12 kB / 496.8 MB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1088, allocations: 0 / 496.8 MB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.1088, allocations: 7.969 kB / 496.8 MB, free: 2.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.1088, allocations: 4 kB / 496.8 MB, free: 2.156 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1088, allocations: 0 / 496.8 MB, free: 2.156 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.109, allocations: 196.3 kB / 497 MB, free: 1.945 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.118e-05/0.1091, allocations: 96.91 kB / 497.1 MB, free: 1.832 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.1091, allocations: 7.875 kB / 497.1 MB, free: 1.824 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.22e-05/0.1092, allocations: 8 kB / 497.1 MB, free: 1.816 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.1092, allocations: 7.984 kB / 497.1 MB, free: 1.809 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.1093, allocations: 4 kB / 497.1 MB, free: 1.805 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001148/0.1094, allocations: 142.1 kB / 497.3 MB, free: 1.668 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1094, allocations: 4 kB / 497.3 MB, free: 1.664 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002298/0.1096, allocations: 20 kB / 497.3 MB, free: 1.645 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.0009843/0.1106, allocations: 0.5326 MB / 497.8 MB, free: 1.254 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001586/0.1108, allocations: 60.09 kB / 497.9 MB, free: 1.195 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1108, allocations: 0 / 497.9 MB, free: 1.195 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.576e-05/0.1109, allocations: 35.92 kB / 497.9 MB, free: 1.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.1112, allocations: 27.56 kB / 497.9 MB, free: 1.137 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004098/0.1116, allocations: 238.4 kB / 498.2 MB, free: 0.875 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.1119, allocations: 0.7083 MB / 498.9 MB, free: 144 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.326e-05/0.112, allocations: 20.88 kB / 498.9 MB, free: 124 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.287e-05/0.112, allocations: 15.44 kB / 498.9 MB, free: 108 kB / 330.7 MB Notification: Performance of SimCode: time 2.6e-07/0.112, allocations: 0 / 498.9 MB, free: 108 kB / 330.7 MB Notification: Performance of Templates: time 0.003926/0.116, allocations: 1.616 MB / 0.4888 GB, free: 14.49 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches