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.001101/0.001101, allocations: 112.7 kB / 17.04 MB, free: 5.801 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.001103/0.001103, allocations: 195 kB / 17.98 MB, free: 5.016 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.273/1.273, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.1953/0.1953, allocations: 43.52 MB / 314.7 MB, free: 492 kB / 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.001476/0.001476, allocations: 71.08 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08621/0.0877, allocations: 57.79 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001535/0.08927, allocations: 0.5335 MB / 442.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002092/0.0895, allocations: 59.77 kB / 442.6 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.594e-05/0.08953, allocations: 4 kB / 442.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.286e-05/0.08956, allocations: 0 / 442.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.08975, allocations: 15.91 kB / 442.6 MB, free: 5.551 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.591e-05/0.08978, allocations: 7.875 kB / 442.6 MB, free: 5.543 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.76e-05/0.08982, allocations: 16 kB / 442.6 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.489e-05/0.08987, allocations: 0 / 442.6 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.612e-05/0.08989, allocations: 4 kB / 442.6 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.006e-05/0.08994, allocations: 0 / 442.6 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.08995, allocations: 0 / 442.6 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.619e-05/0.09003, allocations: 23.97 kB / 442.6 MB, free: 5.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.007e-05/0.09005, allocations: 3.938 kB / 442.6 MB, free: 5.496 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.727e-05/0.09007, allocations: 3.984 kB / 442.6 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.612e-05/0.09015, allocations: 15.98 kB / 442.7 MB, free: 5.477 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.09016, allocations: 0 / 442.7 MB, free: 5.477 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.09017, allocations: 0 / 442.7 MB, free: 5.477 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.09018, allocations: 7.938 kB / 442.7 MB, free: 5.469 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.0002336/0.09042, allocations: 331.4 kB / 443 MB, free: 5.094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.09045, allocations: 15.89 kB / 443 MB, free: 5.078 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/0.09049, allocations: 0.9375 kB / 443 MB, free: 5.078 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.362e-05/0.09055, allocations: 164.4 kB / 443.2 MB, free: 4.879 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.09057, allocations: 4.312 kB / 443.2 MB, free: 4.875 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.0906, allocations: 4.375 kB / 443.2 MB, free: 4.871 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.048e-05/0.09069, allocations: 34.27 kB / 443.2 MB, free: 4.832 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.09072, allocations: 4.188 kB / 443.2 MB, free: 4.828 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.09073, allocations: 3.938 kB / 443.2 MB, free: 4.824 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.09074, allocations: 0 / 443.2 MB, free: 4.824 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.238e-05/0.09078, allocations: 7.984 kB / 443.2 MB, free: 4.816 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001325/0.09092, allocations: 153.7 kB / 443.4 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.0911, allocations: 38.55 kB / 443.4 MB, free: 4.57 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.487e-05/0.09113, allocations: 12.95 kB / 443.4 MB, free: 4.555 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003331/0.09147, allocations: 117 kB / 443.5 MB, free: 4.422 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.345e-05/0.0915, allocations: 30.56 kB / 443.6 MB, free: 4.383 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.0915, allocations: 0 / 443.6 MB, free: 4.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.001178/0.09269, allocations: 189.3 kB / 443.8 MB, free: 4.191 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.143e-05/0.09272, allocations: 55.39 kB / 443.8 MB, free: 4.125 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.177e-05/0.09277, allocations: 93.86 kB / 443.9 MB, free: 4.023 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.09278, allocations: 29.7 kB / 443.9 MB, free: 3.988 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.226e-05/0.0928, allocations: 80.14 kB / 444 MB, free: 3.906 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.09283, allocations: 11.75 kB / 444 MB, free: 3.895 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.09287, allocations: 26.39 kB / 444 MB, free: 3.863 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.832e-05/0.09291, allocations: 314.8 kB / 444.3 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.974e-05/0.09298, allocations: 15.98 kB / 444.4 MB, free: 3.531 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.037e-05/0.09305, allocations: 19.98 kB / 444.4 MB, free: 3.512 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.09318, allocations: 44.83 kB / 444.4 MB, free: 3.465 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.09319, allocations: 0 / 444.4 MB, free: 3.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001655/0.09336, allocations: 81.59 kB / 444.5 MB, free: 3.379 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.09338, allocations: 13.19 kB / 444.5 MB, free: 3.367 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.09339, allocations: 0 / 444.5 MB, free: 3.367 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.09341, allocations: 0 / 444.5 MB, free: 3.367 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.09352, allocations: 15.98 kB / 444.5 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.09354, allocations: 0 / 444.5 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.106e-05/0.09362, allocations: 11.92 kB / 444.5 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.09364, allocations: 4.281 kB / 444.6 MB, free: 3.336 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.052e-05/0.09368, allocations: 113.8 kB / 444.7 MB, free: 3.215 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.0937, allocations: 7.938 kB / 444.7 MB, free: 3.207 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.09392, allocations: 97.28 kB / 444.8 MB, free: 3.105 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.09393, allocations: 0 / 444.8 MB, free: 3.105 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/0.09394, allocations: 8 kB / 444.8 MB, free: 3.098 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.09395, allocations: 0 / 444.8 MB, free: 3.098 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005515/0.0945, allocations: 367.2 kB / 445.1 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.09451, allocations: 0 / 445.1 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.024e-05/0.09461, allocations: 15.98 kB / 445.1 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.09462, allocations: 0 / 445.1 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-06/0.09463, allocations: 0 / 445.1 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.09464, allocations: 4 kB / 445.2 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.09464, allocations: 4.031 kB / 445.2 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.09482, allocations: 180.2 kB / 445.3 MB, free: 2.461 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.353e-05/0.09485, allocations: 77.11 kB / 445.4 MB, free: 2.367 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.09486, allocations: 4 kB / 445.4 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.09497, allocations: 7.984 kB / 445.4 MB, free: 2.355 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.137e-05/0.09499, allocations: 4 kB / 445.4 MB, free: 2.352 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.095, allocations: 4 kB / 445.4 MB, free: 2.348 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.287e-05/0.09502, allocations: 75.28 kB / 445.5 MB, free: 2.273 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09502, allocations: 0 / 445.5 MB, free: 2.273 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002388/0.09527, allocations: 12 kB / 445.5 MB, free: 2.262 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.063e-05/0.09536, allocations: 99.23 kB / 445.6 MB, free: 2.156 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001835/0.09555, allocations: 55.94 kB / 445.7 MB, free: 2.102 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.09556, allocations: 0 / 445.7 MB, free: 2.102 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.085e-05/0.09564, allocations: 23.97 kB / 445.7 MB, free: 2.078 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.09586, allocations: 8 kB / 445.7 MB, free: 2.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003343/0.0962, allocations: 137.8 kB / 445.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.989e-05/0.0963, allocations: 0.6807 MB / 446.5 MB, free: 1.199 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.668e-05/0.09635, allocations: 4 kB / 446.5 MB, free: 1.195 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.09638, allocations: 11.44 kB / 446.5 MB, free: 1.184 MB / 318.1 MB Notification: Performance of SimCode: time 7.92e-07/0.09639, allocations: 0 / 446.5 MB, free: 1.184 MB / 318.1 MB Notification: Performance of Templates: time 0.002328/0.09872, allocations: 0.664 MB / 447.2 MB, free: 0.5234 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 -s gbode -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