Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001959/0.001959, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002267/0.002267, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.509/1.509, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3272/0.3272, allocations: 32.79 MB / 293.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 375.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.628e-05, allocations: 2.312 kB / 375.2 MB, free: 5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.00157/0.001596, allocations: 0.5127 MB / 375.7 MB, free: 4.484 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003284/0.001924, allocations: 95.66 kB / 375.8 MB, free: 4.391 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.827e-05/0.001953, allocations: 0 / 375.8 MB, free: 4.391 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.197e-05/0.001965, allocations: 0 / 375.8 MB, free: 4.391 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.002192, allocations: 15.92 kB / 375.9 MB, free: 4.375 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.596e-05/0.002208, allocations: 0 / 375.9 MB, free: 4.375 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.147e-05/0.002259, allocations: 7.938 kB / 375.9 MB, free: 4.367 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.702e-05/0.002296, allocations: 0 / 375.9 MB, free: 4.367 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.916e-05/0.002325, allocations: 7.984 kB / 375.9 MB, free: 4.359 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.244e-05/0.002378, allocations: 4 kB / 375.9 MB, free: 4.355 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.002397, allocations: 3.984 kB / 375.9 MB, free: 4.352 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-05/0.002487, allocations: 19.98 kB / 375.9 MB, free: 4.332 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.002503, allocations: 7.938 kB / 375.9 MB, free: 4.324 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.742e-05/0.00252, allocations: 0 / 375.9 MB, free: 4.324 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 8.887e-05/0.002609, allocations: 27.84 kB / 375.9 MB, free: 4.297 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.002611, allocations: 0 / 375.9 MB, free: 4.297 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.002611, allocations: 0 / 375.9 MB, free: 4.297 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.002615, allocations: 4 kB / 375.9 MB, free: 4.293 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.0003527/0.002968, allocations: 238.4 kB / 376.2 MB, free: 4.027 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.003001, allocations: 12.03 kB / 376.2 MB, free: 4.016 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.951e-05/0.003041, allocations: 8.938 kB / 376.2 MB, free: 4.008 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.003155, allocations: 101.8 kB / 376.3 MB, free: 3.883 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.003166, allocations: 384 / 376.3 MB, free: 3.883 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.00319, allocations: 8.375 kB / 376.3 MB, free: 3.875 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.496e-05/0.003285, allocations: 38.25 kB / 376.3 MB, free: 3.832 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.003299, allocations: 4.141 kB / 376.3 MB, free: 3.828 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.003306, allocations: 384 / 376.3 MB, free: 3.828 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.003309, allocations: 384 / 376.3 MB, free: 3.828 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.741e-05/0.003347, allocations: 11.88 kB / 376.4 MB, free: 3.816 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.0035, allocations: 105.3 kB / 376.5 MB, free: 3.684 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.003696, allocations: 34.58 kB / 376.5 MB, free: 3.641 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.585e-05/0.003731, allocations: 16.98 kB / 376.5 MB, free: 3.621 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003603/0.004092, allocations: 31.95 kB / 376.5 MB, free: 3.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.004123, allocations: 30.56 kB / 376.6 MB, free: 3.551 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.004124, allocations: 4 kB / 376.6 MB, free: 3.547 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.001394/0.005518, allocations: 185.4 kB / 376.8 MB, free: 3.359 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.005567, allocations: 63.28 kB / 376.8 MB, free: 3.285 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.405e-05/0.005651, allocations: 89.86 kB / 376.9 MB, free: 3.188 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.005674, allocations: 29.64 kB / 376.9 MB, free: 3.152 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/0.005726, allocations: 84.14 kB / 377 MB, free: 3.066 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.005759, allocations: 19.84 kB / 377 MB, free: 3.047 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.049e-05/0.005819, allocations: 25.83 kB / 377.1 MB, free: 3.016 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.005996, allocations: 310.8 kB / 377.4 MB, free: 2.703 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.975e-05/0.006086, allocations: 19.98 kB / 377.4 MB, free: 2.684 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.705e-05/0.006163, allocations: 19.98 kB / 377.4 MB, free: 2.664 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.006327, allocations: 44.83 kB / 377.4 MB, free: 2.617 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.006328, allocations: 0 / 377.4 MB, free: 2.617 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002296/0.006558, allocations: 77.66 kB / 377.5 MB, free: 2.535 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.006572, allocations: 8 kB / 377.5 MB, free: 2.527 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.006577, allocations: 0 / 377.5 MB, free: 2.527 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.006593, allocations: 3.938 kB / 377.5 MB, free: 2.523 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.006726, allocations: 15.98 kB / 377.5 MB, free: 2.508 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.006734, allocations: 3.938 kB / 377.6 MB, free: 2.504 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.456e-05/0.006829, allocations: 7.984 kB / 377.6 MB, free: 2.496 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.006841, allocations: 4 kB / 377.6 MB, free: 2.492 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 9.368e-05/0.006935, allocations: 109.8 kB / 377.7 MB, free: 2.375 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.006949, allocations: 0 / 377.7 MB, free: 2.375 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000495/0.007444, allocations: 97.83 kB / 377.8 MB, free: 2.277 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.007447, allocations: 0 / 377.8 MB, free: 2.277 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.007453, allocations: 3.938 kB / 377.8 MB, free: 2.273 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.007458, allocations: 3.984 kB / 377.8 MB, free: 2.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007831/0.008241, allocations: 310.9 kB / 378.1 MB, free: 1.926 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.008242, allocations: 0 / 378.1 MB, free: 1.926 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.008349, allocations: 15.92 kB / 378.1 MB, free: 1.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.008354, allocations: 4 kB / 378.1 MB, free: 1.906 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.008365, allocations: 3.938 kB / 378.1 MB, free: 1.902 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.008366, allocations: 0 / 378.1 MB, free: 1.902 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.008367, allocations: 0 / 378.1 MB, free: 1.902 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.008665, allocations: 172.4 kB / 378.3 MB, free: 1.715 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.141e-05/0.008677, allocations: 8 kB / 378.3 MB, free: 1.707 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.008692, allocations: 7.969 kB / 378.3 MB, free: 1.699 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.008808, allocations: 11.92 kB / 378.3 MB, free: 1.688 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.477e-05/0.008823, allocations: 0 / 378.3 MB, free: 1.688 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.008828, allocations: 7.938 kB / 378.3 MB, free: 1.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.75e-05/0.008875, allocations: 75.28 kB / 378.4 MB, free: 1.605 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008875, allocations: 0 / 378.4 MB, free: 1.605 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002518/0.009127, allocations: 15.98 kB / 378.4 MB, free: 1.59 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.0001606/0.009288, allocations: 99.19 kB / 378.5 MB, free: 1.484 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002207/0.009509, allocations: 48.05 kB / 378.5 MB, free: 1.438 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.00951, allocations: 0 / 378.5 MB, free: 1.438 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.009615, allocations: 27.92 kB / 378.6 MB, free: 1.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.009842, allocations: 4 kB / 378.6 MB, free: 1.406 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004519/0.01029, allocations: 137.5 kB / 378.7 MB, free: 1.242 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.101e-05/0.01036, allocations: 63.34 kB / 378.8 MB, free: 1.16 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.155e-05/0.01041, allocations: 8.062 kB / 378.8 MB, free: 1.152 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.768e-05/0.01045, allocations: 12.48 kB / 378.8 MB, free: 1.141 MB / 346.7 MB Notification: Performance of SimCode: time 3.7e-07/0.01045, allocations: 0 / 378.8 MB, free: 1.141 MB / 346.7 MB Notification: Performance of Templates: time 0.003317/0.01377, allocations: 0.7193 MB / 379.5 MB, free: 436 kB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.696408358053304]