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.001424/0.001424, allocations: 107.7 kB / 16.27 MB, free: 5.98 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.001692/0.001693, allocations: 191.7 kB / 17.2 MB, free: 5.613 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.357/1.357, allocations: 205.1 MB / 223.1 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.1985/0.1985, allocations: 43.53 MB / 313.9 MB, free: 0.5234 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.001489/0.001489, allocations: 70.52 kB / 382.7 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08663/0.08813, allocations: 57.79 MB / 440.5 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.002107/0.09027, allocations: 0.5343 MB / 441 MB, free: 6.383 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002441/0.09054, allocations: 63.7 kB / 441.1 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.534e-05/0.09058, allocations: 0 / 441.1 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.04e-05/0.0906, allocations: 0 / 441.1 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.0908, allocations: 23.91 kB / 441.1 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.562e-05/0.09083, allocations: 0 / 441.1 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.681e-05/0.09087, allocations: 4 kB / 441.1 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.107e-05/0.09092, allocations: 4 kB / 441.1 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.493e-05/0.09094, allocations: 3.938 kB / 441.1 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.477e-05/0.09098, allocations: 4 kB / 441.1 MB, free: 6.281 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.938e-06/0.09099, allocations: 0 / 441.1 MB, free: 6.281 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.334e-05/0.09107, allocations: 27.97 kB / 441.2 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.09108, allocations: 7.922 kB / 441.2 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.091e-05/0.09111, allocations: 3.938 kB / 441.2 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.577e-05/0.09119, allocations: 11.98 kB / 441.2 MB, free: 6.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.0912, allocations: 3.938 kB / 441.2 MB, free: 6.227 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.09121, allocations: 0 / 441.2 MB, free: 6.227 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.09121, allocations: 0 / 441.2 MB, free: 6.227 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.0002211/0.09144, allocations: 331.7 kB / 441.5 MB, free: 5.852 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.09148, allocations: 15.89 kB / 441.5 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.549e-05/0.09151, allocations: 0.9375 kB / 441.5 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.066e-05/0.09159, allocations: 168.4 kB / 441.7 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.0916, allocations: 384 / 441.7 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.09163, allocations: 4.375 kB / 441.7 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.496e-05/0.09171, allocations: 34.27 kB / 441.7 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.09172, allocations: 192 / 441.7 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.09174, allocations: 7.938 kB / 441.8 MB, free: 5.582 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.09174, allocations: 3.938 kB / 441.8 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.912e-05/0.09178, allocations: 11.92 kB / 441.8 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001032/0.09189, allocations: 149.7 kB / 441.9 MB, free: 5.371 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.09204, allocations: 34.61 kB / 442 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.175e-05/0.09208, allocations: 12.86 kB / 442 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003052/0.09239, allocations: 121.1 kB / 442.1 MB, free: 5.176 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.089e-05/0.09241, allocations: 30.56 kB / 442.1 MB, free: 5.137 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.09241, allocations: 0 / 442.1 MB, free: 5.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.001164/0.09358, allocations: 189.3 kB / 442.3 MB, free: 4.945 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.09362, allocations: 51.41 kB / 442.3 MB, free: 4.883 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.802e-05/0.09367, allocations: 93.84 kB / 442.4 MB, free: 4.781 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.09369, allocations: 25.7 kB / 442.5 MB, free: 4.75 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.194e-05/0.0937, allocations: 84.14 kB / 442.5 MB, free: 4.664 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.09374, allocations: 23.67 kB / 442.6 MB, free: 4.641 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.09377, allocations: 13.72 kB / 442.6 MB, free: 4.621 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.731e-05/0.09383, allocations: 323.5 kB / 442.9 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.57e-05/0.09391, allocations: 15.98 kB / 442.9 MB, free: 4.281 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.642e-05/0.09398, allocations: 24.05 kB / 442.9 MB, free: 4.258 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.09413, allocations: 44.83 kB / 443 MB, free: 4.211 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.09413, allocations: 0 / 443 MB, free: 4.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001875/0.09433, allocations: 81.66 kB / 443.1 MB, free: 4.125 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.09435, allocations: 7.938 kB / 443.1 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.09436, allocations: 4 kB / 443.1 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.09437, allocations: 0 / 443.1 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.09449, allocations: 15.92 kB / 443.1 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.319e-06/0.09451, allocations: 0 / 443.1 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.1e-05/0.09459, allocations: 7.984 kB / 443.1 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.09461, allocations: 4 kB / 443.1 MB, free: 4.086 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.545e-05/0.09466, allocations: 113.8 kB / 443.2 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.09468, allocations: 11.94 kB / 443.2 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.0949, allocations: 93.05 kB / 443.3 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.09492, allocations: 0 / 443.3 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.09492, allocations: 0 / 443.3 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.09493, allocations: 0 / 443.3 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005671/0.0955, allocations: 355.6 kB / 443.7 MB, free: 3.449 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.09552, allocations: 7.922 kB / 443.7 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.844e-05/0.09561, allocations: 19.92 kB / 443.7 MB, free: 3.422 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.09562, allocations: 256 / 443.7 MB, free: 3.422 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.09563, allocations: 48 / 443.7 MB, free: 3.422 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.09564, allocations: 4 kB / 443.7 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.09564, allocations: 12.02 kB / 443.7 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.09583, allocations: 176.3 kB / 443.9 MB, free: 3.215 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.384e-05/0.09585, allocations: 77.11 kB / 444 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.09587, allocations: 4 kB / 444 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.802e-05/0.09597, allocations: 11.98 kB / 444 MB, free: 3.105 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.784e-05/0.096, allocations: 4 kB / 444 MB, free: 3.102 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.09601, allocations: 4 kB / 444 MB, free: 3.098 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.434e-05/0.09603, allocations: 75.28 kB / 444 MB, free: 3.023 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09604, allocations: 3.938 kB / 444.1 MB, free: 3.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002276/0.09627, allocations: 12 kB / 444.1 MB, free: 3.008 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 9.72e-05/0.09637, allocations: 99.23 kB / 444.2 MB, free: 2.902 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.09658, allocations: 52 kB / 444.2 MB, free: 2.852 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.09659, allocations: 0 / 444.2 MB, free: 2.852 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.545e-05/0.09667, allocations: 31.91 kB / 444.2 MB, free: 2.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.09689, allocations: 3.938 kB / 444.2 MB, free: 2.816 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/0.09724, allocations: 133.8 kB / 444.4 MB, free: 2.656 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.474e-05/0.09733, allocations: 0.6807 MB / 445.1 MB, free: 1.949 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.266e-05/0.09738, allocations: 4 kB / 445.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.09742, allocations: 11.44 kB / 445.1 MB, free: 1.934 MB / 318.1 MB Notification: Performance of SimCode: time 3.4e-07/0.09742, allocations: 0 / 445.1 MB, free: 1.934 MB / 318.1 MB Notification: Performance of Templates: time 0.002737/0.1002, allocations: 0.66 MB / 445.7 MB, free: 1.277 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins/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