Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001563/0.001563, allocations: 109.5 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001772/0.001772, allocations: 211.4 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 230.2 MB / 256.8 MB, free: 8.645 MB / 206.1 MB [Timeout remaining time 88] 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(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.00322/0.00322, allocations: 63.89 kB / 376.9 MB, free: 3.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.246, allocations: 53.31 MB / 430.2 MB, free: 7.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002823/0.2488, allocations: 1.667 MB / 431.8 MB, free: 5.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002196/0.249, allocations: 63.72 kB / 431.9 MB, free: 5.922 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.035e-05/0.2491, allocations: 8 kB / 431.9 MB, free: 5.914 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.2492, allocations: 11.92 kB / 431.9 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.99e-05/0.2492, allocations: 11.86 kB / 431.9 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001099/0.2493, allocations: 23.91 kB / 432 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.2494, allocations: 63.72 kB / 432 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.158e-05/0.2495, allocations: 15.98 kB / 432 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.624e-05/0.2496, allocations: 19.94 kB / 432.1 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.772e-05/0.2496, allocations: 23.92 kB / 432.1 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.2497, allocations: 11.94 kB / 432.1 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.379e-05/0.2497, allocations: 4 kB / 432.1 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.2497, allocations: 15.97 kB / 432.1 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.2497, allocations: 31.81 kB / 432.1 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.2498, allocations: 64.98 kB / 432.2 MB, free: 5.625 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2499, allocations: 0 / 432.2 MB, free: 5.625 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2499, allocations: 0 / 432.2 MB, free: 5.625 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.2499, allocations: 4 kB / 432.2 MB, free: 5.621 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.0004616/0.2503, allocations: 367.2 kB / 432.6 MB, free: 5.211 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.2504, allocations: 8.031 kB / 432.6 MB, free: 5.203 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.2504, allocations: 12.89 kB / 432.6 MB, free: 5.191 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.2506, allocations: 180.3 kB / 432.8 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.2506, allocations: 384 / 432.8 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.2506, allocations: 8.375 kB / 432.8 MB, free: 4.969 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.2508, allocations: 76.92 kB / 432.8 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.2508, allocations: 192 / 432.8 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.2508, allocations: 11.94 kB / 432.9 MB, free: 4.879 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.2508, allocations: 7.875 kB / 432.9 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.204e-05/0.2509, allocations: 35.97 kB / 432.9 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006207/0.2515, allocations: 379.7 kB / 433.3 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.2516, allocations: 58.55 kB / 433.3 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.563e-05/0.2517, allocations: 16.84 kB / 433.3 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.2517, allocations: 4 kB / 433.3 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.2517, allocations: 30.56 kB / 433.4 MB, free: 4.281 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 3.045e-06/0.2517, allocations: 4 kB / 433.4 MB, free: 4.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007282/0.2524, allocations: 0.5058 MB / 433.9 MB, free: 3.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.2525, allocations: 51.41 kB / 433.9 MB, free: 3.617 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.2526, allocations: 117.7 kB / 434.1 MB, free: 3.492 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.2526, allocations: 29.7 kB / 434.1 MB, free: 3.457 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.843e-05/0.2527, allocations: 100 kB / 434.2 MB, free: 3.355 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.2527, allocations: 39.84 kB / 434.2 MB, free: 3.316 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.2527, allocations: 29.7 kB / 434.2 MB, free: 3.281 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.2529, allocations: 318.8 kB / 434.6 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.664e-05/0.2529, allocations: 15.98 kB / 434.6 MB, free: 2.945 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.391e-05/0.253, allocations: 57.14 kB / 434.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.2531, allocations: 89.06 kB / 434.7 MB, free: 2.766 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.2531, allocations: 4 kB / 434.7 MB, free: 2.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001716/0.2533, allocations: 109.5 kB / 434.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.2533, allocations: 4 kB / 434.8 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.2533, allocations: 96 / 434.8 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.2533, allocations: 8.469 kB / 434.8 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.832e-05/0.2534, allocations: 27.92 kB / 434.9 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.2534, allocations: 4.172 kB / 434.9 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.512e-05/0.2535, allocations: 12 kB / 434.9 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.2535, allocations: 4 kB / 434.9 MB, free: 2.59 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 9.03e-05/0.2535, allocations: 121.7 kB / 435 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.2536, allocations: 7.953 kB / 435 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.2536, allocations: 12.38 kB / 435 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2536, allocations: 4 kB / 435 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.2536, allocations: 7.922 kB / 435 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2536, allocations: 0 / 435 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005028/0.2541, allocations: 402.6 kB / 435.4 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2541, allocations: 3.938 kB / 435.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.89e-05/0.2542, allocations: 24.09 kB / 435.5 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.2542, allocations: 4 kB / 435.5 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.2542, allocations: 4 kB / 435.5 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.2542, allocations: 7.984 kB / 435.5 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2542, allocations: 0 / 435.5 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.2545, allocations: 231.7 kB / 435.7 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.269e-05/0.2545, allocations: 89.08 kB / 435.8 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.2545, allocations: 8 kB / 435.8 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.831e-05/0.2546, allocations: 0 / 435.8 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/0.2546, allocations: 11.92 kB / 435.8 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.2546, allocations: 4 kB / 435.8 MB, free: 1.531 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.576e-05/0.2547, allocations: 91.34 kB / 435.9 MB, free: 1.441 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2547, allocations: 0 / 435.9 MB, free: 1.441 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.255, allocations: 20 kB / 435.9 MB, free: 1.422 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.0001018/0.2551, allocations: 107.2 kB / 436 MB, free: 1.309 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001514/0.2552, allocations: 60.17 kB / 436.1 MB, free: 1.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2552, allocations: 0 / 436.1 MB, free: 1.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.237e-05/0.2553, allocations: 28.8 kB / 436.1 MB, free: 1.223 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.2555, allocations: 15.94 kB / 436.1 MB, free: 1.207 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005968/0.2561, allocations: 376.2 kB / 436.5 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.2565, allocations: 0.689 MB / 437.2 MB, free: 76 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.933e-05/0.2565, allocations: 15.44 kB / 437.2 MB, free: 60 kB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2565, allocations: 0 / 437.2 MB, free: 60 kB / 334.1 MB Notification: Performance of Templates: time 0.002582/0.2591, allocations: 0.9955 MB / 438.2 MB, free: 15.06 MB / 350.1 MB [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches