Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 101.2 kB / 16.94 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 191.4 kB / 17.86 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.207/0.207, allocations: 43.52 MB / 314.6 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001589, allocations: 72.88 kB / 383.4 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08147/0.08307, allocations: 57.79 MB / 441.2 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001661/0.08477, allocations: 0.5395 MB / 441.7 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002237/0.08501, allocations: 70.73 kB / 441.8 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.479e-05/0.08505, allocations: 0 / 441.8 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.304e-05/0.08507, allocations: 0 / 441.8 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.08527, allocations: 15.92 kB / 441.8 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.508e-05/0.08529, allocations: 3.984 kB / 441.8 MB, free: 6.281 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.461e-05/0.08533, allocations: 4 kB / 441.8 MB, free: 6.277 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.108e-05/0.08538, allocations: 4 kB / 441.8 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.48e-05/0.0854, allocations: 11.92 kB / 441.8 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.252e-05/0.08544, allocations: 4 kB / 441.8 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.718e-06/0.08545, allocations: 0 / 441.8 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.012e-05/0.08553, allocations: 27.91 kB / 441.9 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.817e-06/0.08554, allocations: 0 / 441.9 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.502e-05/0.08556, allocations: 3.938 kB / 441.9 MB, free: 6.227 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7e-05/0.08563, allocations: 19.92 kB / 441.9 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.08564, allocations: 0 / 441.9 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.08565, allocations: 0 / 441.9 MB, free: 6.207 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.08566, allocations: 0 / 441.9 MB, free: 6.207 MB / 318.1 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.0002167/0.08588, allocations: 331.7 kB / 442.2 MB, free: 5.832 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/0.08591, allocations: 11.89 kB / 442.2 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.455e-05/0.08594, allocations: 0.9375 kB / 442.2 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.717e-05/0.08601, allocations: 164.4 kB / 442.4 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.08603, allocations: 12.36 kB / 442.4 MB, free: 5.609 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.08606, allocations: 384 / 442.4 MB, free: 5.609 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.288e-05/0.08613, allocations: 30.27 kB / 442.4 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.08615, allocations: 192 / 442.4 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-06/0.08616, allocations: 7.938 kB / 442.4 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.08617, allocations: 0 / 442.4 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.055e-05/0.0862, allocations: 15.92 kB / 442.4 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.713e-05/0.08631, allocations: 149.6 kB / 442.6 MB, free: 5.355 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.08647, allocations: 38.61 kB / 442.6 MB, free: 5.309 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.168e-05/0.0865, allocations: 12.86 kB / 442.6 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003213/0.08682, allocations: 117.1 kB / 442.8 MB, free: 5.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.123e-05/0.08684, allocations: 30.56 kB / 442.8 MB, free: 5.121 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.08685, allocations: 0 / 442.8 MB, free: 5.121 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.001146/0.088, allocations: 189.3 kB / 443 MB, free: 4.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.803e-05/0.08803, allocations: 51.41 kB / 443 MB, free: 4.867 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.656e-05/0.08808, allocations: 97.84 kB / 443.1 MB, free: 4.762 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.906e-06/0.0881, allocations: 25.7 kB / 443.1 MB, free: 4.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.094e-05/0.08811, allocations: 80.14 kB / 443.2 MB, free: 4.648 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.08814, allocations: 19.75 kB / 443.2 MB, free: 4.629 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.08818, allocations: 17.72 kB / 443.3 MB, free: 4.605 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.614e-05/0.08822, allocations: 319.5 kB / 443.6 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.85e-05/0.08831, allocations: 23.92 kB / 443.6 MB, free: 4.262 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.301e-05/0.08838, allocations: 11.98 kB / 443.6 MB, free: 4.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.08852, allocations: 53.02 kB / 443.7 MB, free: 4.195 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.08853, allocations: 0 / 443.7 MB, free: 4.195 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001741/0.0887, allocations: 81.66 kB / 443.7 MB, free: 4.109 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.08873, allocations: 7.938 kB / 443.7 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.08873, allocations: 0 / 443.7 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.08875, allocations: 0 / 443.7 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.08887, allocations: 15.98 kB / 443.8 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.08888, allocations: 3.938 kB / 443.8 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.944e-05/0.08897, allocations: 11.92 kB / 443.8 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.08898, allocations: 0 / 443.8 MB, free: 4.07 MB / 318.1 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 4.171e-05/0.08903, allocations: 117.8 kB / 443.9 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.08904, allocations: 7.938 kB / 443.9 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002233/0.08927, allocations: 89.11 kB / 444 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.08928, allocations: 0 / 444 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.08929, allocations: 4.281 kB / 444 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.0893, allocations: 0 / 444 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005712/0.08988, allocations: 355.3 kB / 444.3 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.08989, allocations: 3.984 kB / 444.3 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.794e-05/0.08998, allocations: 12 kB / 444.4 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.08999, allocations: 7.922 kB / 444.4 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-06/0.09001, allocations: 8 kB / 444.4 MB, free: 3.402 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.09001, allocations: 3.938 kB / 444.4 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.09002, allocations: 4.031 kB / 444.4 MB, free: 3.395 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.0902, allocations: 176.4 kB / 444.5 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.549e-05/0.09023, allocations: 81.11 kB / 444.6 MB, free: 3.105 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.09025, allocations: 4 kB / 444.6 MB, free: 3.102 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.76e-05/0.09035, allocations: 7.984 kB / 444.6 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.647e-05/0.09037, allocations: 4 kB / 444.6 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-06/0.09038, allocations: 4 kB / 444.6 MB, free: 3.086 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.478e-05/0.0904, allocations: 75.28 kB / 444.7 MB, free: 3.012 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09041, allocations: 0 / 444.7 MB, free: 3.012 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.09064, allocations: 12 kB / 444.7 MB, free: 3 MB / 318.1 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.0001018/0.09075, allocations: 107.2 kB / 444.8 MB, free: 2.887 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002094/0.09096, allocations: 48 kB / 444.9 MB, free: 2.84 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.09098, allocations: 0 / 444.9 MB, free: 2.84 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.356e-05/0.09106, allocations: 31.91 kB / 444.9 MB, free: 2.809 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.09129, allocations: 8 kB / 444.9 MB, free: 2.801 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003573/0.09166, allocations: 151.5 kB / 445.1 MB, free: 2.617 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.137e-05/0.09176, allocations: 0.6846 MB / 445.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.879e-05/0.0918, allocations: 7.438 kB / 445.8 MB, free: 1.898 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.0918, allocations: 0 / 445.8 MB, free: 1.898 MB / 318.1 MB Notification: Performance of Templates: time 0.001782/0.09359, allocations: 0.6609 MB / 446.4 MB, free: 1.238 MB / 318.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches