Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001845/0.001845, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001941/0.001941, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.558/1.558, allocations: 177 MB / 204.5 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3491/0.3491, allocations: 34.26 MB / 295.2 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 377.2 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.076e-05/3.232e-05, allocations: 2.312 kB / 377.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001577/0.001609, allocations: 0.5034 MB / 377.7 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003558/0.001965, allocations: 99.61 kB / 377.8 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.874e-05/0.001994, allocations: 0 / 377.8 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.488e-05/0.002009, allocations: 3.938 kB / 377.8 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.002237, allocations: 19.97 kB / 377.8 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.97e-05/0.002257, allocations: 3.938 kB / 377.8 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.532e-05/0.002302, allocations: 4 kB / 377.8 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.06e-05/0.002343, allocations: 4 kB / 377.8 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.316e-05/0.002386, allocations: 11.92 kB / 377.8 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.405e-05/0.00243, allocations: 4 kB / 377.8 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.002445, allocations: 0 / 377.8 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.695e-05/0.002532, allocations: 19.98 kB / 377.9 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.131e-05/0.002543, allocations: 0 / 377.9 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.739e-05/0.002561, allocations: 3.984 kB / 377.9 MB, free: 2.266 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.002665, allocations: 23.91 kB / 377.9 MB, free: 2.242 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.002668, allocations: 0 / 377.9 MB, free: 2.242 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.002669, allocations: 0 / 377.9 MB, free: 2.242 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.002673, allocations: 3.938 kB / 377.9 MB, free: 2.238 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.000459/0.003132, allocations: 352.4 kB / 378.2 MB, free: 1.855 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.003178, allocations: 8.031 kB / 378.2 MB, free: 1.848 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.003221, allocations: 0.9375 kB / 378.2 MB, free: 1.848 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.003355, allocations: 108.6 kB / 378.3 MB, free: 1.715 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.003368, allocations: 384 / 378.3 MB, free: 1.715 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.003389, allocations: 384 / 378.3 MB, free: 1.715 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.003502, allocations: 42.19 kB / 378.4 MB, free: 1.668 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.003519, allocations: 8.141 kB / 378.4 MB, free: 1.66 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.455e-06/0.003528, allocations: 384 / 378.4 MB, free: 1.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.003533, allocations: 384 / 378.4 MB, free: 1.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.169e-05/0.003575, allocations: 11.94 kB / 378.4 MB, free: 1.648 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002087/0.003784, allocations: 116.6 kB / 378.5 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.004004, allocations: 35.06 kB / 378.6 MB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.015e-05/0.004044, allocations: 19.81 kB / 378.6 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002944/0.004339, allocations: 31.91 kB / 378.6 MB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.004373, allocations: 33.39 kB / 378.6 MB, free: 1.355 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.004374, allocations: 0 / 378.6 MB, free: 1.355 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.001206/0.00558, allocations: 169.4 kB / 378.8 MB, free: 1.184 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.005629, allocations: 55.34 kB / 378.9 MB, free: 1.117 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.005752, allocations: 149.9 kB / 379 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.005778, allocations: 25.7 kB / 379 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.441e-05/0.005852, allocations: 130.9 kB / 379.2 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.005888, allocations: 19.84 kB / 379.2 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-05/0.005938, allocations: 27.5 kB / 379.2 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003028/0.006241, allocations: 496.1 kB / 379.7 MB, free: 244 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.033e-05/0.006312, allocations: 11.98 kB / 379.7 MB, free: 232 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.321e-05/0.006375, allocations: 20.17 kB / 379.7 MB, free: 212 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.006513, allocations: 43.67 kB / 379.8 MB, free: 164 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.006514, allocations: 4 kB / 379.8 MB, free: 160 kB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002149/0.006729, allocations: 73.61 kB / 379.8 MB, free: 80 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.006745, allocations: 7.984 kB / 379.8 MB, free: 72 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.00675, allocations: 4 kB / 379.8 MB, free: 68 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.006763, allocations: 0 / 379.8 MB, free: 68 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.00688, allocations: 12 kB / 379.9 MB, free: 56 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.00689, allocations: 11.86 kB / 379.9 MB, free: 44 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.845e-05/0.006968, allocations: 4 kB / 379.9 MB, free: 40 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.00698, allocations: 4 kB / 379.9 MB, free: 36 kB / 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 0.0001389/0.007118, allocations: 156.6 kB / 380 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.384e-05/0.007132, allocations: 0 / 380 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002692/0.007401, allocations: 89.25 kB / 380.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.007403, allocations: 0 / 380.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.007415, allocations: 11.92 kB / 380.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.007418, allocations: 288 / 380.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000771/0.008189, allocations: 353 kB / 380.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.008191, allocations: 0 / 380.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.577e-05/0.008287, allocations: 20.02 kB / 380.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.008288, allocations: 0 / 380.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.008302, allocations: 7.938 kB / 380.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.008303, allocations: 128 / 380.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/0.008312, allocations: 8 kB / 380.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003728/0.008685, allocations: 223.5 kB / 380.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.18e-05/0.008697, allocations: 4 kB / 380.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.008718, allocations: 3.938 kB / 380.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.008834, allocations: 7.984 kB / 380.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.008862, allocations: 8 kB / 380.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.008872, allocations: 4 kB / 380.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.041e-05/0.008942, allocations: 123.2 kB / 380.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008943, allocations: 0 / 380.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002198/0.009162, allocations: 8 kB / 380.9 MB, free: 14.95 MB / 362.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.0001696/0.009332, allocations: 99.19 kB / 381 MB, free: 14.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002286/0.009561, allocations: 55.59 kB / 381 MB, free: 14.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.009562, allocations: 0 / 381 MB, free: 14.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.002e-05/0.009642, allocations: 27.77 kB / 381.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.009853, allocations: 11.98 kB / 381.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004273/0.01028, allocations: 149.8 kB / 381.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.815e-05/0.01035, allocations: 67.28 kB / 381.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.275e-05/0.01039, allocations: 12 kB / 381.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.175e-05/0.01044, allocations: 12.5 kB / 381.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of SimCode: time 4.2e-07/0.01044, allocations: 0 / 381.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of Templates: time 0.003597/0.01404, allocations: 0.7077 MB / 382 MB, free: 13.75 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.715675120009109]