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.001742/0.001742, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.002239/0.002239, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 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.425/1.425, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.001653/0.001653, allocations: 51.92 kB / 371.7 MB, free: 9.363 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2461, allocations: 52.18 MB / 423.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003071/0.2491, allocations: 1.67 MB / 425.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002607/0.2494, allocations: 71.7 kB / 425.6 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.933e-05/0.2495, allocations: 0 / 425.6 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.968e-05/0.2496, allocations: 3.938 kB / 425.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.838e-05/0.2496, allocations: 23.78 kB / 425.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001154/0.2497, allocations: 15.98 kB / 425.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.2499, allocations: 67.72 kB / 425.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.25, allocations: 15.94 kB / 425.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.921e-05/0.25, allocations: 31.91 kB / 425.8 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.758e-05/0.2501, allocations: 23.92 kB / 425.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.2501, allocations: 4 kB / 425.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.379e-05/0.2501, allocations: 4 kB / 425.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.093e-05/0.2502, allocations: 11.94 kB / 425.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.499e-05/0.2502, allocations: 27.86 kB / 425.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.2504, allocations: 71.23 kB / 425.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.2504, allocations: 0 / 425.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.2504, allocations: 0 / 425.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.2504, allocations: 4 kB / 425.9 MB, free: 12.62 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.0004889/0.2509, allocations: 291.9 kB / 426.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.2509, allocations: 8.031 kB / 426.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.951e-05/0.2509, allocations: 8.891 kB / 426.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.2512, allocations: 118.5 kB / 426.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.2512, allocations: 4.375 kB / 426.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.2512, allocations: 8.375 kB / 426.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.2514, allocations: 74.17 kB / 426.4 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.2514, allocations: 4.141 kB / 426.4 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.2514, allocations: 7.938 kB / 426.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.2514, allocations: 4 kB / 426.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.576e-05/0.2515, allocations: 39.91 kB / 426.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000701/0.2522, allocations: 346.7 kB / 426.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.2523, allocations: 50.56 kB / 426.8 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.724e-05/0.2524, allocations: 24.8 kB / 426.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.2524, allocations: 0 / 426.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.2524, allocations: 38.5 kB / 426.9 MB, free: 11.49 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.2524, allocations: 0 / 426.9 MB, free: 11.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007292/0.2531, allocations: 368.1 kB / 427.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.2532, allocations: 59.41 kB / 427.3 MB, free: 11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.2533, allocations: 117.7 kB / 427.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.2533, allocations: 33.69 kB / 427.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/0.2534, allocations: 92.09 kB / 427.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.2534, allocations: 35.69 kB / 427.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.2535, allocations: 25.72 kB / 427.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.2536, allocations: 318.8 kB / 427.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.851e-05/0.2537, allocations: 20 kB / 428 MB, free: 10.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.418e-05/0.2538, allocations: 57.14 kB / 428 MB, free: 10.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.2539, allocations: 93 kB / 428.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2539, allocations: 4 kB / 428.1 MB, free: 10.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001661/0.2541, allocations: 105.5 kB / 428.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.2541, allocations: 8 kB / 428.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.2541, allocations: 0 / 428.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.2541, allocations: 4 kB / 428.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.137e-05/0.2542, allocations: 24.45 kB / 428.2 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.2542, allocations: 3.938 kB / 428.3 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.224e-05/0.2542, allocations: 8 kB / 428.3 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-06/0.2542, allocations: 8.094 kB / 428.3 MB, free: 9.988 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.0001025/0.2543, allocations: 125.8 kB / 428.4 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.2544, allocations: 3.938 kB / 428.4 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.834e-05/0.2544, allocations: 16.38 kB / 428.4 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2544, allocations: 0 / 428.4 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2544, allocations: 3.938 kB / 428.4 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.2544, allocations: 0 / 428.4 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005191/0.2549, allocations: 389.6 kB / 428.8 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2549, allocations: 0 / 428.8 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.22e-05/0.255, allocations: 16 kB / 428.8 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.255, allocations: 4 kB / 428.8 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.255, allocations: 7.984 kB / 428.8 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.2551, allocations: 7.938 kB / 428.8 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2551, allocations: 0 / 428.8 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.2553, allocations: 235.8 kB / 429.1 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.59e-05/0.2554, allocations: 7.984 kB / 429.1 MB, free: 9.074 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.2554, allocations: 8 kB / 429.1 MB, free: 9.066 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.806e-05/0.2554, allocations: 4.062 kB / 429.1 MB, free: 9.062 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.2555, allocations: 8.172 kB / 429.1 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.2555, allocations: 4 kB / 429.1 MB, free: 9.051 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.973e-05/0.2555, allocations: 95.27 kB / 429.2 MB, free: 8.957 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2555, allocations: 0 / 429.2 MB, free: 8.957 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.2558, allocations: 16 kB / 429.2 MB, free: 8.941 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.0001106/0.2559, allocations: 103.2 kB / 429.3 MB, free: 8.832 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001555/0.2561, allocations: 63.86 kB / 429.4 MB, free: 8.77 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2561, allocations: 0 / 429.4 MB, free: 8.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.436e-05/0.2561, allocations: 31.86 kB / 429.4 MB, free: 8.738 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.2565, allocations: 24.36 kB / 429.4 MB, free: 8.715 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007297/0.2572, allocations: 361.8 kB / 429.8 MB, free: 8.316 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.2576, allocations: 0.6961 MB / 430.5 MB, free: 7.594 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.773e-05/0.2577, allocations: 11.44 kB / 430.5 MB, free: 7.582 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2577, allocations: 4 kB / 430.5 MB, free: 7.578 MB / 334.1 MB Notification: Performance of Templates: time 0.002987/0.2607, allocations: 0.9919 MB / 431.5 MB, free: 6.59 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/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: 6.740910202963278]