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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008961/0.0008961, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00089/0.00089, allocations: 173.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8388/0.8388, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.127/0.127, allocations: 32.37 MB / 270.3 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 408.1 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.881e-05/3.054e-05, allocations: 5.656 kB / 408.1 MB, free: 12.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001019/0.00105, allocations: 0.5611 MB / 408.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002173/0.001267, allocations: 55.78 kB / 408.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.783e-05/0.001295, allocations: 0 / 408.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.684e-05/0.001312, allocations: 0 / 408.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.001534, allocations: 15.92 kB / 408.8 MB, free: 12.36 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.278e-05/0.001547, allocations: 0 / 408.8 MB, free: 12.36 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.136e-05/0.001598, allocations: 11.92 kB / 408.8 MB, free: 12.35 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.001641, allocations: 4 kB / 408.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.338e-05/0.001674, allocations: 7.984 kB / 408.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.773e-05/0.001712, allocations: 0 / 408.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.001724, allocations: 0 / 408.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.874e-05/0.001793, allocations: 19.98 kB / 408.8 MB, free: 12.32 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.001809, allocations: 0 / 408.8 MB, free: 12.32 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.39e-05/0.001823, allocations: 4 kB / 408.8 MB, free: 12.31 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 8.413e-05/0.001907, allocations: 31.83 kB / 408.8 MB, free: 12.28 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.001909, allocations: 0 / 408.8 MB, free: 12.28 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.001909, allocations: 0 / 408.8 MB, free: 12.28 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.001913, allocations: 0 / 408.8 MB, free: 12.28 MB / 346.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.0002503/0.002163, allocations: 246.4 kB / 409.1 MB, free: 12.01 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.002199, allocations: 8.031 kB / 409.1 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.002232, allocations: 12.89 kB / 409.1 MB, free: 11.99 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.916e-05/0.002311, allocations: 109.7 kB / 409.2 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.002322, allocations: 384 / 409.2 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.002343, allocations: 4.375 kB / 409.2 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.403e-05/0.002427, allocations: 38.19 kB / 409.2 MB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.002437, allocations: 192 / 409.2 MB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.002445, allocations: 384 / 409.3 MB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.00245, allocations: 384 / 409.3 MB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.452e-05/0.002485, allocations: 11.94 kB / 409.3 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001195/0.002604, allocations: 105.3 kB / 409.4 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.002804, allocations: 38.55 kB / 409.4 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.284e-05/0.002827, allocations: 12.86 kB / 409.4 MB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002115/0.003039, allocations: 36.05 kB / 409.5 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.003055, allocations: 30.56 kB / 409.5 MB, free: 11.53 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.003056, allocations: 0 / 409.5 MB, free: 11.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006786/0.003734, allocations: 193.3 kB / 409.7 MB, free: 11.33 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.003779, allocations: 55.34 kB / 409.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.967e-05/0.003828, allocations: 93.86 kB / 409.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.00384, allocations: 25.7 kB / 409.8 MB, free: 11.13 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.957e-05/0.00386, allocations: 80.27 kB / 409.9 MB, free: 11.05 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.003885, allocations: 15.91 kB / 409.9 MB, free: 11.04 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.003914, allocations: 21.7 kB / 410 MB, free: 11.01 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.537e-05/0.004, allocations: 314.8 kB / 410.3 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.531e-05/0.004045, allocations: 19.98 kB / 410.3 MB, free: 10.67 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.375e-05/0.004079, allocations: 11.98 kB / 410.3 MB, free: 10.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.841e-05/0.004157, allocations: 52.7 kB / 410.3 MB, free: 10.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.004158, allocations: 0 / 410.3 MB, free: 10.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001075/0.004266, allocations: 85.94 kB / 410.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.004278, allocations: 6.656 kB / 410.4 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.004283, allocations: 0 / 410.4 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.004295, allocations: 0 / 410.4 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.148e-05/0.004356, allocations: 15.98 kB / 410.5 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.004362, allocations: 3.938 kB / 410.5 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.255e-05/0.004415, allocations: 7.984 kB / 410.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.004422, allocations: 3.984 kB / 410.5 MB, free: 10.48 MB / 346.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.305e-05/0.004475, allocations: 113.8 kB / 410.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.442e-06/0.004482, allocations: 8.203 kB / 410.6 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.004637, allocations: 97.23 kB / 410.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.004638, allocations: 0 / 410.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.004643, allocations: 3.938 kB / 410.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.004646, allocations: 0 / 410.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004227/0.005069, allocations: 299 kB / 411 MB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.00507, allocations: 4 kB / 411 MB, free: 9.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.796e-05/0.005108, allocations: 11.98 kB / 411 MB, free: 9.898 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.00511, allocations: 0 / 411 MB, free: 9.898 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.005118, allocations: 7.938 kB / 411 MB, free: 9.891 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.00512, allocations: 3.938 kB / 411 MB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.00512, allocations: 0 / 411 MB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.005251, allocations: 184.3 kB / 411.2 MB, free: 9.688 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-06/0.005256, allocations: 0 / 411.2 MB, free: 9.688 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.005268, allocations: 7.938 kB / 411.2 MB, free: 9.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.412e-05/0.005312, allocations: 7.984 kB / 411.2 MB, free: 9.672 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.213e-05/0.005324, allocations: 0 / 411.2 MB, free: 9.672 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.005328, allocations: 4 kB / 411.2 MB, free: 9.668 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.452e-05/0.005353, allocations: 79.27 kB / 411.3 MB, free: 9.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005353, allocations: 0 / 411.3 MB, free: 9.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001504/0.005503, allocations: 15.94 kB / 411.3 MB, free: 9.574 MB / 346.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.0001152/0.005619, allocations: 103.3 kB / 411.4 MB, free: 9.465 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001456/0.005764, allocations: 51.89 kB / 411.4 MB, free: 9.414 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.005765, allocations: 3.938 kB / 411.5 MB, free: 9.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.515e-05/0.005801, allocations: 19.98 kB / 411.5 MB, free: 9.391 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.00595, allocations: 4 kB / 411.5 MB, free: 9.387 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002827/0.006233, allocations: 159.4 kB / 411.6 MB, free: 9.195 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.066e-05/0.006273, allocations: 63.41 kB / 411.7 MB, free: 9.113 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.641e-05/0.0063, allocations: 12.5 kB / 411.7 MB, free: 9.102 MB / 346.7 MB Notification: Performance of SimCode: time 4.01e-07/0.0063, allocations: 0 / 411.7 MB, free: 9.102 MB / 346.7 MB Notification: Performance of Templates: time 0.001573/0.007873, allocations: 0.6949 MB / 412.4 MB, free: 8.406 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.107689695432782]