Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.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.001339/0.001339, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.001431/0.001431, allocations: 211.6 kB / 24.49 MB, free: 3.965 MB / 14.72 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.428/1.428, allocations: 230.6 MB / 258.3 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate") translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 51.92 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2146, allocations: 53.37 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002965/0.2175, allocations: 1.636 MB / 434 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002651/0.2178, allocations: 59.75 kB / 434 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.287e-05/0.2179, allocations: 0 / 434 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.511e-05/0.2179, allocations: 11.92 kB / 434 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.186e-05/0.218, allocations: 23.78 kB / 434.1 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001129/0.2181, allocations: 15.97 kB / 434.1 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.2183, allocations: 63.73 kB / 434.1 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.2184, allocations: 19.92 kB / 434.2 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.079e-05/0.2184, allocations: 27.92 kB / 434.2 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.805e-05/0.2185, allocations: 31.84 kB / 434.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.2185, allocations: 4 kB / 434.2 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.711e-05/0.2185, allocations: 8 kB / 434.2 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.2185, allocations: 4 kB / 434.2 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.224e-05/0.2186, allocations: 31.86 kB / 434.3 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.2187, allocations: 66.39 kB / 434.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2187, allocations: 0 / 434.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2187, allocations: 0 / 434.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.2187, allocations: 4 kB / 434.3 MB, free: 4.73 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004337/0.2191, allocations: 286.2 kB / 434.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.2192, allocations: 8.031 kB / 434.6 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.2192, allocations: 8.891 kB / 434.6 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.2194, allocations: 126.4 kB / 434.7 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.2194, allocations: 8.375 kB / 434.8 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.2194, allocations: 4.375 kB / 434.8 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.2196, allocations: 74.17 kB / 434.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.2196, allocations: 192 / 434.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.2196, allocations: 3.938 kB / 434.8 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2196, allocations: 0 / 434.8 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.717e-05/0.2197, allocations: 43.97 kB / 434.9 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005893/0.2203, allocations: 303.3 kB / 435.2 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.2204, allocations: 58.55 kB / 435.2 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.001e-05/0.2204, allocations: 24.84 kB / 435.3 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.472e-06/0.2205, allocations: 0 / 435.3 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.2205, allocations: 30.56 kB / 435.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.2205, allocations: 0 / 435.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.000695/0.2212, allocations: 387.1 kB / 435.7 MB, free: 3.219 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.2212, allocations: 55.41 kB / 435.7 MB, free: 3.152 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.681e-05/0.2213, allocations: 105.8 kB / 435.8 MB, free: 3.039 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.2213, allocations: 25.7 kB / 435.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.304e-05/0.2214, allocations: 103.9 kB / 435.9 MB, free: 2.902 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.2214, allocations: 31.73 kB / 436 MB, free: 2.871 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.2215, allocations: 29.7 kB / 436 MB, free: 2.836 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.2216, allocations: 318.8 kB / 436.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.071e-05/0.2216, allocations: 19.98 kB / 436.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.37e-05/0.2217, allocations: 57.14 kB / 436.4 MB, free: 2.422 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.2218, allocations: 89.08 kB / 436.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2218, allocations: 0 / 436.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000174/0.222, allocations: 117.4 kB / 436.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.222, allocations: 4 kB / 436.6 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.222, allocations: 4 kB / 436.6 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.222, allocations: 0 / 436.6 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.867e-05/0.2221, allocations: 23.98 kB / 436.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.2221, allocations: 0 / 436.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.219e-05/0.2222, allocations: 12.09 kB / 436.6 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.2222, allocations: 4 kB / 436.6 MB, free: 2.148 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (13): * Single equations (assignments): 13 * 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.764e-05/0.2223, allocations: 125.7 kB / 436.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.2223, allocations: 7.953 kB / 436.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.517e-05/0.2223, allocations: 8.375 kB / 436.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.2223, allocations: 0 / 436.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2223, allocations: 0 / 436.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.2223, allocations: 7.984 kB / 436.8 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.2224, allocations: 3.938 kB / 436.8 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.926e-05/0.2224, allocations: 0 / 436.8 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/0.2224, allocations: 12 kB / 436.8 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002282/0.2227, allocations: 168.8 kB / 437 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002534/0.2229, allocations: 270.9 kB / 437.2 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.519e-05/0.223, allocations: 27.95 kB / 437.3 MB, free: 1.488 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.53e-05/0.223, allocations: 83.27 kB / 437.3 MB, free: 1.406 MB / 334.1 MB Notification: Performance of Backend: time 1.7e-07/0.223, allocations: 0 / 437.3 MB, free: 1.406 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003492/0.2234, allocations: 122.2 kB / 437.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of SimCode: time 0.0007716/0.2241, allocations: 0.7554 MB / 438.2 MB, free: 496 kB / 334.1 MB Notification: Performance of Templates: time 0.003293/0.2274, allocations: 0.8579 MB / 439.1 MB, free: 15.63 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.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.128093532999628]