Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008699/0.00087, allocations: 170.4 kB / 16.07 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.237/1.237, allocations: 205.6 MB / 222.4 MB, free: 8.926 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.0007737/0.0007738, allocations: 79.33 kB / 270.8 MB, free: 8.129 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.3005/0.3005, allocations: 43.67 MB / 362.7 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002806/0.0002807, allocations: 16 kB / 432.3 MB, free: 5.012 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0974/0.0977, allocations: 58.84 MB / 491.2 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0006668/0.09842, allocations: 276.4 kB / 491.4 MB, free: 9.766 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003154/0.09876, allocations: 150.5 kB / 491.6 MB, free: 9.602 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.605e-05/0.09879, allocations: 0 / 491.6 MB, free: 9.602 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.929e-06/0.09881, allocations: 0 / 491.6 MB, free: 9.602 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.09898, allocations: 7.938 kB / 491.6 MB, free: 9.594 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.644e-05/0.09901, allocations: 3.984 kB / 491.6 MB, free: 9.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.628e-05/0.09905, allocations: 11.94 kB / 491.6 MB, free: 9.578 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.074e-05/0.0991, allocations: 4 kB / 491.6 MB, free: 9.574 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.448e-05/0.09912, allocations: 0 / 491.6 MB, free: 9.574 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.513e-05/0.09916, allocations: 4 kB / 491.6 MB, free: 9.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.015e-06/0.09918, allocations: 0 / 491.6 MB, free: 9.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.365e-05/0.09927, allocations: 23.97 kB / 491.6 MB, free: 9.547 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.09929, allocations: 7.922 kB / 491.6 MB, free: 9.539 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.09932, allocations: 33.58 kB / 491.7 MB, free: 9.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 7.863e-05/0.09941, allocations: 15.98 kB / 491.7 MB, free: 9.484 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.09942, allocations: 0 / 491.7 MB, free: 9.484 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.09943, allocations: 0 / 491.7 MB, free: 9.484 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.09944, allocations: 0 / 491.7 MB, free: 9.484 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002615/0.0997, allocations: 323.5 kB / 492 MB, free: 9.117 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.09974, allocations: 8.031 kB / 492 MB, free: 9.109 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.656e-05/0.09978, allocations: 0.9375 kB / 492 MB, free: 9.109 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.09988, allocations: 164.6 kB / 492.2 MB, free: 8.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.09991, allocations: 16.31 kB / 492.2 MB, free: 8.895 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.09993, allocations: 384 / 492.2 MB, free: 8.895 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.324e-05/0.1, allocations: 34.25 kB / 492.2 MB, free: 8.855 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.1, allocations: 192 / 492.2 MB, free: 8.855 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.1001, allocations: 7.938 kB / 492.2 MB, free: 8.848 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1001, allocations: 0 / 492.2 MB, free: 8.848 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.208e-05/0.1001, allocations: 15.92 kB / 492.2 MB, free: 8.832 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.1003, allocations: 145.7 kB / 492.4 MB, free: 8.641 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.1005, allocations: 38.61 kB / 492.4 MB, free: 8.594 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.792e-05/0.1005, allocations: 12.86 kB / 492.4 MB, free: 8.578 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003644/0.1009, allocations: 129.1 kB / 492.6 MB, free: 8.434 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.1009, allocations: 30.56 kB / 492.6 MB, free: 8.395 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1009, allocations: 0 / 492.6 MB, free: 8.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001269/0.1022, allocations: 221.3 kB / 492.8 MB, free: 8.172 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.1022, allocations: 51.41 kB / 492.9 MB, free: 8.109 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.166e-05/0.1023, allocations: 93.86 kB / 492.9 MB, free: 8.008 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.1023, allocations: 25.7 kB / 493 MB, free: 7.977 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.181e-05/0.1024, allocations: 88.25 kB / 493.1 MB, free: 7.887 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.1024, allocations: 15.8 kB / 493.1 MB, free: 7.871 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.1024, allocations: 3.938 kB / 493.1 MB, free: 7.867 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.349e-05/0.1025, allocations: 314.8 kB / 493.4 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.244e-05/0.1026, allocations: 19.98 kB / 493.4 MB, free: 7.531 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.124e-05/0.1027, allocations: 27.97 kB / 493.4 MB, free: 7.504 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.1028, allocations: 56.83 kB / 493.5 MB, free: 7.445 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1028, allocations: 0 / 493.5 MB, free: 7.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001997/0.103, allocations: 81.67 kB / 493.6 MB, free: 7.359 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1031, allocations: 7.938 kB / 493.6 MB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1031, allocations: 288 / 493.6 MB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.1031, allocations: 0 / 493.6 MB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.1032, allocations: 19.92 kB / 493.6 MB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1032, allocations: 4 kB / 493.6 MB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.809e-05/0.1033, allocations: 11.98 kB / 493.6 MB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.1033, allocations: 0 / 493.6 MB, free: 7.316 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.987e-05/0.1034, allocations: 121.7 kB / 493.7 MB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.1034, allocations: 7.922 kB / 493.7 MB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.1037, allocations: 97.52 kB / 493.8 MB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1037, allocations: 3.938 kB / 493.8 MB, free: 7.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1037, allocations: 4 kB / 493.8 MB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1037, allocations: 4 kB / 493.8 MB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006694/0.1044, allocations: 379.2 kB / 494.2 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1044, allocations: 0 / 494.2 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.798e-05/0.1045, allocations: 19.92 kB / 494.2 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1045, allocations: 0 / 494.2 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.1046, allocations: 4 kB / 494.2 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1046, allocations: 0 / 494.2 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1046, allocations: 32 / 494.2 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.1048, allocations: 188.3 kB / 494.4 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.049e-05/0.1048, allocations: 81.11 kB / 494.5 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.1049, allocations: 0 / 494.5 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.105, allocations: 11.98 kB / 494.5 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.105, allocations: 4 kB / 494.5 MB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.105, allocations: 3.984 kB / 494.5 MB, free: 6.289 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.413e-05/0.105, allocations: 79.28 kB / 494.6 MB, free: 6.211 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.675e-06/0.1051, allocations: 0 / 494.6 MB, free: 6.211 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002074/0.1053, allocations: 15.94 kB / 494.6 MB, free: 6.195 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0001214/0.1054, allocations: 111.3 kB / 494.7 MB, free: 6.078 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000211/0.1056, allocations: 59.89 kB / 494.8 MB, free: 6.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1056, allocations: 0 / 494.8 MB, free: 6.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.632e-05/0.1057, allocations: 27.92 kB / 494.8 MB, free: 5.992 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.1059, allocations: 8.062 kB / 494.8 MB, free: 5.984 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003855/0.1063, allocations: 146.7 kB / 495 MB, free: 5.812 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.1066, allocations: 0.677 MB / 495.6 MB, free: 5.109 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.728e-05/0.1066, allocations: 8 kB / 495.6 MB, free: 5.102 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.1067, allocations: 19.42 kB / 495.7 MB, free: 5.086 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1067, allocations: 0 / 495.7 MB, free: 5.086 MB / 378.7 MB Notification: Performance of Templates: time 0.002448/0.1091, allocations: 0.6337 MB / 496.3 MB, free: 4.453 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches