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.001433/0.001433, allocations: 101.8 kB / 16.64 MB, free: 6.82 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.001124/0.001124, allocations: 194.5 kB / 17.56 MB, free: 5.938 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.383/1.383, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.2041/0.2041, allocations: 43.52 MB / 314.3 MB, free: 0.707 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.001385/0.001385, allocations: 63.56 kB / 382.9 MB, free: 56.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09019/0.09159, allocations: 57.8 MB / 440.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001914/0.09355, allocations: 0.6003 MB / 441.3 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002525/0.09383, allocations: 69.59 kB / 441.3 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.363e-05/0.09387, allocations: 4 kB / 441.3 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.617e-05/0.0939, allocations: 0 / 441.3 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002375/0.09416, allocations: 15.92 kB / 441.4 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.09e-05/0.09419, allocations: 0 / 441.4 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.365e-05/0.09424, allocations: 4 kB / 441.4 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.056e-05/0.0943, allocations: 0 / 441.4 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.822e-05/0.09432, allocations: 11.94 kB / 441.4 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.981e-05/0.09437, allocations: 3.984 kB / 441.4 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.09438, allocations: 0 / 441.4 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.924e-05/0.09447, allocations: 19.98 kB / 441.4 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.09449, allocations: 7.984 kB / 441.4 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.903e-05/0.09451, allocations: 3.938 kB / 441.4 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.32e-05/0.09459, allocations: 11.98 kB / 441.4 MB, free: 6.617 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.0946, allocations: 0 / 441.4 MB, free: 6.617 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.09461, allocations: 7.875 kB / 441.4 MB, free: 6.609 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.09462, allocations: 0 / 441.4 MB, free: 6.609 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.0002556/0.09488, allocations: 327.7 kB / 441.7 MB, free: 6.238 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.09492, allocations: 15.89 kB / 441.8 MB, free: 6.223 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.09496, allocations: 0.9375 kB / 441.8 MB, free: 6.223 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.578e-05/0.09504, allocations: 164.4 kB / 441.9 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.09506, allocations: 384 / 441.9 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.09508, allocations: 384 / 441.9 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.282e-05/0.09518, allocations: 42.25 kB / 442 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.0952, allocations: 192 / 442 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.09522, allocations: 3.938 kB / 442 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.09523, allocations: 0 / 442 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.531e-05/0.09527, allocations: 7.984 kB / 442 MB, free: 5.965 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.0954, allocations: 153.6 kB / 442.1 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.09558, allocations: 42.59 kB / 442.2 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.421e-05/0.09562, allocations: 8.859 kB / 442.2 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003225/0.09594, allocations: 121.1 kB / 442.3 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.398e-05/0.09597, allocations: 30.56 kB / 442.3 MB, free: 5.527 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.09597, allocations: 4 kB / 442.3 MB, free: 5.523 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.001233/0.09721, allocations: 181.3 kB / 442.5 MB, free: 5.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.09725, allocations: 55.41 kB / 442.6 MB, free: 5.273 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.63e-05/0.0973, allocations: 93.86 kB / 442.6 MB, free: 5.172 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.09732, allocations: 29.69 kB / 442.7 MB, free: 5.137 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.25e-05/0.09734, allocations: 84.14 kB / 442.8 MB, free: 5.051 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.09737, allocations: 15.75 kB / 442.8 MB, free: 5.035 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.09741, allocations: 17.66 kB / 442.8 MB, free: 5.012 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.418e-05/0.09746, allocations: 318.8 kB / 443.1 MB, free: 4.691 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.363e-05/0.09754, allocations: 15.98 kB / 443.1 MB, free: 4.676 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.591e-05/0.09761, allocations: 24.05 kB / 443.1 MB, free: 4.652 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.09775, allocations: 48.83 kB / 443.2 MB, free: 4.602 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.09775, allocations: 0 / 443.2 MB, free: 4.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001688/0.09793, allocations: 81.91 kB / 443.3 MB, free: 4.516 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.09795, allocations: 7.938 kB / 443.3 MB, free: 4.508 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.09796, allocations: 4 kB / 443.3 MB, free: 4.504 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.09798, allocations: 0 / 443.3 MB, free: 4.504 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.0981, allocations: 11.98 kB / 443.3 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.09812, allocations: 4 kB / 443.3 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.394e-05/0.09821, allocations: 7.984 kB / 443.3 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.09822, allocations: 7.938 kB / 443.3 MB, free: 4.473 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 5.166e-05/0.09828, allocations: 113.8 kB / 443.4 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.198e-05/0.0983, allocations: 7.938 kB / 443.4 MB, free: 4.344 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.09853, allocations: 97.11 kB / 443.5 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.09855, allocations: 3.938 kB / 443.5 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.09855, allocations: 0 / 443.5 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.09856, allocations: 0 / 443.5 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005907/0.09916, allocations: 355.3 kB / 443.9 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.09917, allocations: 4.031 kB / 443.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.319e-05/0.09927, allocations: 15.98 kB / 443.9 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.09928, allocations: 0 / 443.9 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.0993, allocations: 3.984 kB / 443.9 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.0993, allocations: 3.938 kB / 443.9 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.09931, allocations: 0 / 443.9 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.0995, allocations: 184.3 kB / 444.1 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.616e-05/0.09952, allocations: 77.11 kB / 444.2 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.09954, allocations: 4 kB / 444.2 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.906e-05/0.09965, allocations: 3.984 kB / 444.2 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.315e-05/0.09967, allocations: 8 kB / 444.2 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.09968, allocations: 4.125 kB / 444.2 MB, free: 3.492 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.557e-05/0.0997, allocations: 79.28 kB / 444.3 MB, free: 3.414 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.42e-07/0.09971, allocations: 96 / 444.3 MB, free: 3.414 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002235/0.09993, allocations: 15.94 kB / 444.3 MB, free: 3.398 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.000114/0.1001, allocations: 107.2 kB / 444.4 MB, free: 3.285 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.1003, allocations: 47.91 kB / 444.4 MB, free: 3.238 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1003, allocations: 0 / 444.4 MB, free: 3.238 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.101e-05/0.1003, allocations: 31.91 kB / 444.5 MB, free: 3.207 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.1006, allocations: 0.625 kB / 444.5 MB, free: 3.207 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003571/0.1009, allocations: 167.6 kB / 444.6 MB, free: 3.008 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.102e-05/0.101, allocations: 0.6768 MB / 445.3 MB, free: 2.305 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.074e-05/0.1011, allocations: 11.44 kB / 445.3 MB, free: 2.293 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1011, allocations: 0 / 445.3 MB, free: 2.293 MB / 318.1 MB Notification: Performance of Templates: time 0.001822/0.1029, allocations: 0.6612 MB / 446 MB, free: 1.633 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","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches