Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009678/0.0009678, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009584/0.0009584, allocations: 169.1 kB / 24.91 MB, free: 9.191 MB / 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 0.9357/0.9357, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2469/0.2469, allocations: 34.26 MB / 296.1 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.947e-06/3.947e-06, allocations: 4 kB / 325.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.859e-05, allocations: 3.188 kB / 325.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.002417/0.002446, allocations: 0.5599 MB / 325.8 MB, free: 7.098 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003638/0.00281, allocations: 95.66 kB / 325.9 MB, free: 7.004 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.806e-05/0.002838, allocations: 0 / 325.9 MB, free: 7.004 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.3e-05/0.002851, allocations: 0 / 325.9 MB, free: 7.004 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.003065, allocations: 19.91 kB / 325.9 MB, free: 6.984 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.091e-05/0.003086, allocations: 7.938 kB / 325.9 MB, free: 6.977 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.516e-05/0.003131, allocations: 0.625 kB / 325.9 MB, free: 6.977 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.78e-05/0.003169, allocations: 4 kB / 326 MB, free: 6.973 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.156e-05/0.003201, allocations: 7.984 kB / 326 MB, free: 6.965 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.392e-05/0.003245, allocations: 4 kB / 326 MB, free: 6.961 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.003257, allocations: 0 / 326 MB, free: 6.961 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.003358, allocations: 19.98 kB / 326 MB, free: 6.941 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.00337, allocations: 3.938 kB / 326 MB, free: 6.938 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.336e-05/0.003383, allocations: 3.984 kB / 326 MB, free: 6.934 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.338e-05/0.003467, allocations: 23.91 kB / 326 MB, free: 6.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.003469, allocations: 0 / 326 MB, free: 6.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.031e-06/0.00347, allocations: 0 / 326 MB, free: 6.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.003474, allocations: 0 / 326 MB, free: 6.91 MB / 298.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.0002378/0.003712, allocations: 221.4 kB / 326.2 MB, free: 6.668 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.003749, allocations: 12.03 kB / 326.2 MB, free: 6.656 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/0.003777, allocations: 4.938 kB / 326.2 MB, free: 6.652 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.003878, allocations: 106.5 kB / 326.4 MB, free: 6.523 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.003888, allocations: 4.312 kB / 326.4 MB, free: 6.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.003907, allocations: 4.375 kB / 326.4 MB, free: 6.516 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.703e-05/0.003974, allocations: 30.25 kB / 326.4 MB, free: 6.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.003983, allocations: 192 / 326.4 MB, free: 6.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.003992, allocations: 8.375 kB / 326.4 MB, free: 6.473 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.003998, allocations: 384 / 326.4 MB, free: 6.473 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.346e-05/0.004021, allocations: 11.92 kB / 326.4 MB, free: 6.461 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001004/0.004122, allocations: 61.39 kB / 326.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.004276, allocations: 30.55 kB / 326.5 MB, free: 6.348 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.977e-05/0.004296, allocations: 12.8 kB / 326.5 MB, free: 6.332 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002228/0.004519, allocations: 24.56 kB / 326.5 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.004545, allocations: 34.56 kB / 326.6 MB, free: 6.266 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.004546, allocations: 0 / 326.6 MB, free: 6.266 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008163/0.005362, allocations: 158.1 kB / 326.7 MB, free: 6.102 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.005395, allocations: 51.41 kB / 326.8 MB, free: 6.039 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.016e-05/0.005455, allocations: 102.7 kB / 326.9 MB, free: 5.926 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.005468, allocations: 25.7 kB / 326.9 MB, free: 5.895 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.529e-05/0.005503, allocations: 80.14 kB / 327 MB, free: 5.812 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.005533, allocations: 11.89 kB / 327 MB, free: 5.801 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.005574, allocations: 17.72 kB / 327 MB, free: 5.777 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003905/0.005965, allocations: 322.8 kB / 327.3 MB, free: 5.453 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.069e-05/0.005995, allocations: 12.11 kB / 327.3 MB, free: 5.441 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.756e-05/0.006013, allocations: 4 kB / 327.3 MB, free: 5.438 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.102e-05/0.006064, allocations: 20.84 kB / 327.4 MB, free: 5.414 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.006065, allocations: 3.938 kB / 327.4 MB, free: 5.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.978e-05/0.006155, allocations: 53.94 kB / 327.4 MB, free: 5.352 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.006171, allocations: 6.344 kB / 327.4 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.006176, allocations: 0 / 327.4 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.006192, allocations: 0 / 327.4 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.006304, allocations: 15.98 kB / 327.4 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.006307, allocations: 0 / 327.4 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.031e-05/0.006358, allocations: 7.938 kB / 327.4 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.006366, allocations: 4 kB / 327.4 MB, free: 5.32 MB / 298.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 6.679e-05/0.006433, allocations: 109.8 kB / 327.6 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.006448, allocations: 8 kB / 327.6 MB, free: 5.195 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.006584, allocations: 57.27 kB / 327.6 MB, free: 5.137 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.006586, allocations: 0 / 327.6 MB, free: 5.137 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.006589, allocations: 0 / 327.6 MB, free: 5.137 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.006593, allocations: 4.281 kB / 327.6 MB, free: 5.133 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006139/0.007207, allocations: 239.5 kB / 327.9 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.007209, allocations: 0 / 327.9 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.677e-05/0.007296, allocations: 15.98 kB / 327.9 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.007299, allocations: 0 / 327.9 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.007309, allocations: 4 kB / 327.9 MB, free: 4.852 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.007312, allocations: 0 / 327.9 MB, free: 4.852 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.007315, allocations: 7.875 kB / 327.9 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.007442, allocations: 148.4 kB / 328 MB, free: 4.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-06/0.007451, allocations: 8 kB / 328 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.007465, allocations: 4 kB / 328 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.178e-05/0.007547, allocations: 4 kB / 328 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.559e-05/0.007562, allocations: 7.922 kB / 328.1 MB, free: 4.656 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.007578, allocations: 8.125 kB / 328.1 MB, free: 4.648 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.291e-05/0.007591, allocations: 4.859 kB / 328.1 MB, free: 4.641 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007591, allocations: 0 / 328.1 MB, free: 4.641 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002189/0.00781, allocations: 11.94 kB / 328.1 MB, free: 4.629 MB / 298.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.00014/0.00795, allocations: 88.5 kB / 328.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.417e-05/0.008044, allocations: 28.78 kB / 328.2 MB, free: 4.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.008047, allocations: 0 / 328.2 MB, free: 4.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.619e-05/0.008073, allocations: 16.84 kB / 328.2 MB, free: 4.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.008246, allocations: 8.875 kB / 328.2 MB, free: 4.473 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004893/0.008736, allocations: 126 kB / 328.3 MB, free: 4.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.138e-05/0.008777, allocations: 55.36 kB / 328.4 MB, free: 4.246 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.919e-05/0.008826, allocations: 12.05 kB / 328.4 MB, free: 4.234 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.706e-05/0.008883, allocations: 51.38 kB / 328.5 MB, free: 4.184 MB / 298.7 MB Notification: Performance of SimCode: time 7.61e-07/0.008884, allocations: 0 / 328.5 MB, free: 4.184 MB / 298.7 MB Notification: Performance of Templates: time 0.002385/0.01127, allocations: 0.7766 MB / 329.2 MB, free: 3.414 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6627307860180736]