Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009687/0.000969, allocations: 201.1 kB / 17.43 MB, free: 4.27 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.265/1.265, allocations: 229.5 MB / 247.7 MB, free: 6.34 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007067/0.0007066, allocations: 94.88 kB / 299.8 MB, free: 5.371 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2916/0.2916, allocations: 45.01 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002479/0.000248, allocations: 8 kB / 470.8 MB, free: 7.145 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2814, allocations: 63.1 MB / 0.5214 GB, free: 38.42 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0005619/0.282, allocations: 227 kB / 0.5216 GB, free: 38.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003179/0.2823, allocations: 179 kB / 0.5218 GB, free: 38.12 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.678e-05/0.2824, allocations: 0 / 0.5218 GB, free: 38.12 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.162e-05/0.2824, allocations: 2.625 kB / 0.5218 GB, free: 38.12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.2826, allocations: 18.11 kB / 0.5218 GB, free: 38.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.433e-05/0.2826, allocations: 0 / 0.5218 GB, free: 38.11 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.147e-05/0.2827, allocations: 2.562 kB / 0.5218 GB, free: 38.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.2827, allocations: 6.531 kB / 0.5218 GB, free: 38.1 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.527e-05/0.2827, allocations: 0 / 0.5218 GB, free: 38.1 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.866e-05/0.2828, allocations: 14.52 kB / 0.5218 GB, free: 38.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.454e-06/0.2828, allocations: 0 / 0.5218 GB, free: 38.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.491e-05/0.2829, allocations: 25.5 kB / 0.5218 GB, free: 38.08 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.936e-06/0.2829, allocations: 0 / 0.5218 GB, free: 38.08 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.345e-05/0.2829, allocations: 27.98 kB / 0.5218 GB, free: 38.05 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 7.49e-05/0.283, allocations: 19.69 kB / 0.5219 GB, free: 38.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.283, allocations: 6.281 kB / 0.5219 GB, free: 38.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.283, allocations: 0 / 0.5219 GB, free: 38.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.283, allocations: 0 / 0.5219 GB, free: 38.04 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.0002168/0.2832, allocations: 321.4 kB / 0.5222 GB, free: 37.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.2833, allocations: 10.91 kB / 0.5222 GB, free: 37.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.921e-05/0.2833, allocations: 0.9375 kB / 0.5222 GB, free: 37.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.408e-05/0.2834, allocations: 160.4 kB / 0.5223 GB, free: 37.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.2834, allocations: 3.156 kB / 0.5223 GB, free: 37.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.2834, allocations: 4.375 kB / 0.5224 GB, free: 37.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.953e-05/0.2835, allocations: 34.47 kB / 0.5224 GB, free: 37.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.2835, allocations: 192 / 0.5224 GB, free: 37.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.2836, allocations: 3.938 kB / 0.5224 GB, free: 37.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2836, allocations: 4 kB / 0.5224 GB, free: 37.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.891e-05/0.2836, allocations: 8.203 kB / 0.5224 GB, free: 37.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001105/0.2837, allocations: 157.8 kB / 0.5225 GB, free: 37.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.2839, allocations: 32.11 kB / 0.5226 GB, free: 37.22 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.477e-05/0.2839, allocations: 17.08 kB / 0.5226 GB, free: 37.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003132/0.2842, allocations: 133.4 kB / 0.5227 GB, free: 37.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.3e-05/0.2843, allocations: 30.56 kB / 0.5228 GB, free: 37.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.2843, allocations: 0 / 0.5228 GB, free: 37.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001146/0.2854, allocations: 220.1 kB / 0.523 GB, free: 37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/0.2854, allocations: 54.38 kB / 0.523 GB, free: 36.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.506e-05/0.2855, allocations: 89.86 kB / 0.5231 GB, free: 36.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.2855, allocations: 25.7 kB / 0.5231 GB, free: 36.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.311e-05/0.2855, allocations: 87.14 kB / 0.5232 GB, free: 36.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.2855, allocations: 19.17 kB / 0.5232 GB, free: 36.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.2856, allocations: 0 / 0.5232 GB, free: 36.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.338e-05/0.2856, allocations: 313.7 kB / 0.5235 GB, free: 36.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.577e-05/0.2857, allocations: 24.27 kB / 0.5235 GB, free: 36.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.463e-05/0.2858, allocations: 27.91 kB / 0.5236 GB, free: 36.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.2859, allocations: 51.39 kB / 0.5236 GB, free: 36.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2859, allocations: 2.375 kB / 0.5236 GB, free: 36.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000166/0.2861, allocations: 94.36 kB / 0.5237 GB, free: 36.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.2861, allocations: 8.969 kB / 0.5237 GB, free: 36.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.2861, allocations: 3.984 kB / 0.5237 GB, free: 36.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.2861, allocations: 2.594 kB / 0.5237 GB, free: 36.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.2862, allocations: 14.89 kB / 0.5237 GB, free: 36.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.2863, allocations: 0 / 0.5237 GB, free: 36.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.656e-05/0.2863, allocations: 17.72 kB / 0.5238 GB, free: 36.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.2864, allocations: 0 / 0.5238 GB, free: 36.3 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 5.229e-05/0.2864, allocations: 116.9 kB / 0.5239 GB, free: 36.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-06/0.2864, allocations: 3.938 kB / 0.5239 GB, free: 36.17 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.2867, allocations: 97.91 kB / 0.524 GB, free: 36.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.2867, allocations: 6.844 kB / 0.524 GB, free: 36.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2867, allocations: 0 / 0.524 GB, free: 36.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2867, allocations: 0 / 0.524 GB, free: 36.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005918/0.2873, allocations: 372.1 kB / 0.5243 GB, free: 35.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2873, allocations: 2.844 kB / 0.5243 GB, free: 35.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.61e-05/0.2874, allocations: 17.2 kB / 0.5244 GB, free: 35.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2874, allocations: 0 / 0.5244 GB, free: 35.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.2874, allocations: 2.531 kB / 0.5244 GB, free: 35.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.2874, allocations: 3.938 kB / 0.5244 GB, free: 35.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2874, allocations: 2.562 kB / 0.5244 GB, free: 35.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.2876, allocations: 185.2 kB / 0.5245 GB, free: 35.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.375e-05/0.2877, allocations: 83.86 kB / 0.5246 GB, free: 35.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.2877, allocations: 0 / 0.5246 GB, free: 35.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.251e-05/0.2878, allocations: 11.59 kB / 0.5246 GB, free: 35.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.14e-05/0.2878, allocations: 3.422 kB / 0.5246 GB, free: 35.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.2878, allocations: 6.75 kB / 0.5246 GB, free: 35.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.128e-05/0.2878, allocations: 75.28 kB / 0.5247 GB, free: 35.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2878, allocations: 2.438 kB / 0.5247 GB, free: 35.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002026/0.2881, allocations: 11.88 kB / 0.5247 GB, free: 35.45 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.000133/0.2882, allocations: 112.6 kB / 0.5248 GB, free: 35.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.2884, allocations: 51.31 kB / 0.5249 GB, free: 35.35 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2884, allocations: 0 / 0.5249 GB, free: 35.35 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.444e-05/0.2885, allocations: 30.56 kB / 0.5249 GB, free: 35.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.2887, allocations: 14.69 kB / 0.5249 GB, free: 35.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003643/0.2891, allocations: 141.8 kB / 0.5251 GB, free: 35.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.2892, allocations: 0.6779 MB / 0.5257 GB, free: 34.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.437e-05/0.2892, allocations: 6.625 kB / 0.5257 GB, free: 34.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/0.2893, allocations: 13.47 kB / 0.5257 GB, free: 34.5 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2893, allocations: 0 / 0.5257 GB, free: 34.5 MB / 378.7 MB Notification: Performance of Templates: time 0.002286/0.2916, allocations: 0.6275 MB / 0.5264 GB, free: 34.43 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches