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.001638/0.001638, allocations: 84.25 kB / 20.68 MB, free: 1.035 MB / 14.72 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.00182/0.00182, allocations: 162.1 kB / 23.95 MB, free: 4.16 MB / 14.72 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.448/1.448, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.1 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.2124/0.2124, allocations: 34.26 MB / 294.8 MB, free: 14.54 MB / 286.1 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.262e-06/1.262e-06, allocations: 0 / 442.6 MB, free: 5.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.075e-05, allocations: 2.281 kB / 442.6 MB, free: 5.336 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001418/0.001439, allocations: 0.5011 MB / 443.1 MB, free: 4.836 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003378/0.001777, allocations: 103.6 kB / 443.2 MB, free: 4.734 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.785e-05/0.001805, allocations: 4 kB / 443.2 MB, free: 4.73 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.679e-05/0.001821, allocations: 0 / 443.2 MB, free: 4.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.002021, allocations: 19.86 kB / 443.3 MB, free: 4.711 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.51e-05/0.002036, allocations: 0 / 443.3 MB, free: 4.711 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.331e-05/0.00208, allocations: 4 kB / 443.3 MB, free: 4.707 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.582e-05/0.002126, allocations: 0 / 443.3 MB, free: 4.707 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.547e-05/0.002151, allocations: 4 kB / 443.3 MB, free: 4.703 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.857e-05/0.00219, allocations: 7.938 kB / 443.3 MB, free: 4.695 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.002204, allocations: 3.984 kB / 443.3 MB, free: 4.691 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.063e-05/0.002285, allocations: 23.97 kB / 443.3 MB, free: 4.668 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.008e-05/0.002295, allocations: 0 / 443.3 MB, free: 4.668 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.163e-05/0.002306, allocations: 0 / 443.3 MB, free: 4.668 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 8.754e-05/0.002394, allocations: 23.97 kB / 443.3 MB, free: 4.645 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.002396, allocations: 0 / 443.3 MB, free: 4.645 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.91e-07/0.002397, allocations: 0 / 443.3 MB, free: 4.645 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.002405, allocations: 0 / 443.3 MB, free: 4.645 MB / 366.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.000322/0.002727, allocations: 246.3 kB / 443.6 MB, free: 4.371 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.002762, allocations: 8.031 kB / 443.6 MB, free: 4.363 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.572e-05/0.002788, allocations: 4.938 kB / 443.6 MB, free: 4.359 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.002912, allocations: 109.8 kB / 443.7 MB, free: 4.227 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.002928, allocations: 8.312 kB / 443.7 MB, free: 4.219 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.00295, allocations: 384 / 443.7 MB, free: 4.219 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.916e-05/0.003039, allocations: 34.25 kB / 443.7 MB, free: 4.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.00305, allocations: 4.188 kB / 443.7 MB, free: 4.176 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.003058, allocations: 4.312 kB / 443.7 MB, free: 4.172 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.003062, allocations: 384 / 443.7 MB, free: 4.172 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.583e-05/0.003098, allocations: 11.94 kB / 443.7 MB, free: 4.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.003252, allocations: 97.33 kB / 443.8 MB, free: 4.035 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.00344, allocations: 46.53 kB / 443.9 MB, free: 3.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.593e-05/0.003466, allocations: 8.859 kB / 443.9 MB, free: 3.969 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003258/0.003792, allocations: 47.97 kB / 443.9 MB, free: 3.922 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.003819, allocations: 30.56 kB / 444 MB, free: 3.883 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.00382, allocations: 0 / 444 MB, free: 3.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.001296/0.005116, allocations: 189.4 kB / 444.2 MB, free: 3.691 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.00516, allocations: 55.34 kB / 444.2 MB, free: 3.625 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.533e-05/0.005245, allocations: 97.84 kB / 444.3 MB, free: 3.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.005265, allocations: 25.7 kB / 444.3 MB, free: 3.488 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.005299, allocations: 80.14 kB / 444.4 MB, free: 3.406 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.005328, allocations: 15.84 kB / 444.4 MB, free: 3.391 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.005367, allocations: 13.84 kB / 444.4 MB, free: 3.371 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.005533, allocations: 326.8 kB / 444.8 MB, free: 3.043 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/0.005616, allocations: 11.98 kB / 444.8 MB, free: 3.031 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.558e-05/0.005691, allocations: 19.98 kB / 444.8 MB, free: 3.012 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.005855, allocations: 49.02 kB / 444.8 MB, free: 2.961 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.005856, allocations: 0 / 444.8 MB, free: 2.961 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002197/0.006076, allocations: 85.59 kB / 444.9 MB, free: 2.871 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.006088, allocations: 8 kB / 444.9 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.006092, allocations: 0 / 444.9 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.006104, allocations: 0 / 444.9 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.006229, allocations: 15.98 kB / 444.9 MB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.006237, allocations: 3.938 kB / 444.9 MB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.075e-05/0.006328, allocations: 7.984 kB / 445 MB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.006335, allocations: 0 / 445 MB, free: 2.836 MB / 366.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 8.245e-05/0.006418, allocations: 113.8 kB / 445.1 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.113e-05/0.006429, allocations: 0 / 445.1 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.006708, allocations: 93.23 kB / 445.2 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.006714, allocations: 4 kB / 445.2 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.006719, allocations: 3.938 kB / 445.2 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.006722, allocations: 0 / 445.2 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007254/0.007447, allocations: 302.9 kB / 445.5 MB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.007449, allocations: 0 / 445.5 MB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.72e-05/0.007546, allocations: 15.98 kB / 445.5 MB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.007548, allocations: 0 / 445.5 MB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.007562, allocations: 11.92 kB / 445.5 MB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.007564, allocations: 128 / 445.5 MB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.007567, allocations: 4 kB / 445.5 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.007838, allocations: 180.3 kB / 445.7 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-06/0.007844, allocations: 0 / 445.7 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.007861, allocations: 11.97 kB / 445.7 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.007963, allocations: 0 / 445.7 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.841e-05/0.007981, allocations: 7.984 kB / 445.7 MB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.007987, allocations: 0 / 445.7 MB, free: 2.027 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.71e-05/0.008024, allocations: 83.22 kB / 445.8 MB, free: 1.945 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.008024, allocations: 0 / 445.8 MB, free: 1.945 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002383/0.008262, allocations: 12 kB / 445.8 MB, free: 1.934 MB / 366.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 0.0001781/0.008441, allocations: 99.23 kB / 445.9 MB, free: 1.824 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000215/0.008656, allocations: 48 kB / 445.9 MB, free: 1.777 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/0.008661, allocations: 4 kB / 445.9 MB, free: 1.773 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.509e-05/0.008746, allocations: 19.97 kB / 446 MB, free: 1.754 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.00896, allocations: 11.94 kB / 446 MB, free: 1.742 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004052/0.009365, allocations: 125.7 kB / 446.1 MB, free: 1.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.861e-05/0.009423, allocations: 63.34 kB / 446.1 MB, free: 1.508 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.947e-05/0.009463, allocations: 12 kB / 446.2 MB, free: 1.496 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.009503, allocations: 8.5 kB / 446.2 MB, free: 1.488 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.009503, allocations: 0 / 446.2 MB, free: 1.488 MB / 366.1 MB Notification: Performance of Templates: time 0.003041/0.01254, allocations: 0.7054 MB / 446.9 MB, free: 0.7852 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 480] 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.683756545186043]