Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.6 MB / 250.8 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 47.92 kB / 368.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2286, allocations: 52.15 MB / 420.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002938/0.2315, allocations: 1.654 MB / 422.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002565/0.2318, allocations: 71.7 kB / 422.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.24e-05/0.2318, allocations: 4 kB / 422.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.232, allocations: 7.938 kB / 422.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.963e-05/0.232, allocations: 19.84 kB / 422.6 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.2322, allocations: 15.92 kB / 422.6 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.2323, allocations: 63.72 kB / 422.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.2324, allocations: 16 kB / 422.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.456e-05/0.2325, allocations: 19.92 kB / 422.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.473e-05/0.2325, allocations: 35.84 kB / 422.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.2326, allocations: 4 kB / 422.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.667e-05/0.2326, allocations: 8 kB / 422.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.328e-05/0.2326, allocations: 11.94 kB / 422.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.667e-05/0.2326, allocations: 27.86 kB / 422.8 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.2328, allocations: 73.25 kB / 422.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2328, allocations: 3.938 kB / 422.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.2328, allocations: 0 / 422.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.2328, allocations: 0 / 422.9 MB, free: 13.06 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.0006354/0.2335, allocations: 366.9 kB / 423.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.2335, allocations: 12.03 kB / 423.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.2335, allocations: 8.891 kB / 423.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.2338, allocations: 176.4 kB / 423.4 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.2338, allocations: 8.359 kB / 423.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.2338, allocations: 12.31 kB / 423.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.234, allocations: 70.17 kB / 423.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.234, allocations: 4.141 kB / 423.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.234, allocations: 11.92 kB / 423.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.234, allocations: 0 / 423.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.242e-05/0.2341, allocations: 31.98 kB / 423.6 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007272/0.2349, allocations: 383.6 kB / 423.9 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.235, allocations: 58.5 kB / 424 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.719e-05/0.235, allocations: 16.86 kB / 424 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.235, allocations: 0 / 424 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.2351, allocations: 30.56 kB / 424 MB, free: 11.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.2351, allocations: 4 kB / 424.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008048/0.2359, allocations: 0.5132 MB / 424.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.2359, allocations: 55.34 kB / 424.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.236, allocations: 121.7 kB / 424.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.236, allocations: 34.16 kB / 424.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.124e-05/0.2361, allocations: 92.09 kB / 424.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.2361, allocations: 35.69 kB / 424.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.2362, allocations: 25.72 kB / 424.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.2363, allocations: 322.8 kB / 425.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.425e-05/0.2364, allocations: 15.94 kB / 425.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.547e-05/0.2364, allocations: 57.14 kB / 425.3 MB, free: 10.31 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.2365, allocations: 89.08 kB / 425.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.2365, allocations: 0 / 425.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001725/0.2367, allocations: 109.6 kB / 425.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2367, allocations: 4 kB / 425.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2367, allocations: 8.094 kB / 425.5 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.2367, allocations: 7.922 kB / 425.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.618e-05/0.2368, allocations: 23.98 kB / 425.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.2368, allocations: 7.938 kB / 425.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.338e-05/0.2369, allocations: 8 kB / 425.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.2369, allocations: 4 kB / 425.6 MB, free: 10.03 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 0.0001065/0.237, allocations: 125.7 kB / 425.7 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.237, allocations: 4 kB / 425.7 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.298e-05/0.2371, allocations: 12.38 kB / 425.7 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.2371, allocations: 4 kB / 425.7 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2371, allocations: 7.938 kB / 425.7 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2371, allocations: 0 / 425.7 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005137/0.2376, allocations: 406.5 kB / 426.1 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2376, allocations: 4 kB / 426.1 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.611e-05/0.2377, allocations: 28.08 kB / 426.1 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.2377, allocations: 0 / 426.1 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.2377, allocations: 11.94 kB / 426.2 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.2377, allocations: 0 / 426.2 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2377, allocations: 4 kB / 426.2 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.238, allocations: 227.7 kB / 426.4 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/0.238, allocations: 85.09 kB / 426.5 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.238, allocations: 8 kB / 426.5 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.613e-05/0.2381, allocations: 0 / 426.5 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.2381, allocations: 11.92 kB / 426.5 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.2381, allocations: 4 kB / 426.5 MB, free: 8.969 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.229e-05/0.2382, allocations: 99.36 kB / 426.6 MB, free: 8.871 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2382, allocations: 4 kB / 426.6 MB, free: 8.867 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.2385, allocations: 16 kB / 426.6 MB, free: 8.852 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.v) * 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 (9): * Single equations (assignments): 9 * 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.0001089/0.2386, allocations: 100 kB / 426.7 MB, free: 8.746 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001703/0.2387, allocations: 63.78 kB / 426.8 MB, free: 8.684 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2387, allocations: 0 / 426.8 MB, free: 8.684 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.084e-05/0.2388, allocations: 28.31 kB / 426.8 MB, free: 8.656 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.2391, allocations: 15.98 kB / 426.8 MB, free: 8.641 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005938/0.2397, allocations: 346.9 kB / 427.1 MB, free: 8.262 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.24, allocations: 0.6961 MB / 427.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.11e-05/0.24, allocations: 4.438 kB / 427.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/0.2401, allocations: 11.44 kB / 427.9 MB, free: 7.523 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2401, allocations: 0 / 427.9 MB, free: 7.523 MB / 334.1 MB Notification: Performance of Templates: time 0.00312/0.2432, allocations: 0.7026 MB / 428.6 MB, free: 6.828 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.17639081645757]