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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00176/0.00176, allocations: 105.2 kB / 19.8 MB, free: 2.516 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.002104/0.002104, allocations: 219 kB / 23 MB, free: 5.609 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.474/1.474, allocations: 230.2 MB / 256.2 MB, free: 8.531 MB / 206.1 MB " [Timeout remaining time 178] 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.001812/0.001812, allocations: 67.89 kB / 376.5 MB, free: 3.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.253, allocations: 53.32 MB / 429.8 MB, free: 7.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002878/0.2559, allocations: 1.671 MB / 431.5 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002424/0.2561, allocations: 63.78 kB / 431.5 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.089e-05/0.2562, allocations: 0 / 431.5 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.2563, allocations: 19.86 kB / 431.5 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.439e-05/0.2564, allocations: 15.86 kB / 431.5 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001236/0.2565, allocations: 15.98 kB / 431.6 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.2566, allocations: 67.66 kB / 431.6 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.2567, allocations: 19.97 kB / 431.6 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.484e-05/0.2568, allocations: 19.94 kB / 431.7 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.213e-05/0.2569, allocations: 27.86 kB / 431.7 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.2569, allocations: 4 kB / 431.7 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.349e-05/0.2569, allocations: 4 kB / 431.7 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.2569, allocations: 11.98 kB / 431.7 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.706e-05/0.257, allocations: 39.8 kB / 431.8 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.2571, allocations: 57.06 kB / 431.8 MB, free: 5.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.2571, allocations: 4 kB / 431.8 MB, free: 5.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2571, allocations: 0 / 431.8 MB, free: 5.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.2571, allocations: 0 / 431.8 MB, free: 5.52 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.0004835/0.2576, allocations: 367.2 kB / 432.2 MB, free: 5.109 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.2576, allocations: 11.97 kB / 432.2 MB, free: 5.098 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.2576, allocations: 12.88 kB / 432.2 MB, free: 5.086 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.2579, allocations: 176.3 kB / 432.4 MB, free: 4.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.2579, allocations: 8.375 kB / 432.4 MB, free: 4.867 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.2579, allocations: 8.375 kB / 432.4 MB, free: 4.859 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.2581, allocations: 73.12 kB / 432.5 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.2581, allocations: 4.188 kB / 432.5 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.2581, allocations: 3.938 kB / 432.5 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.2581, allocations: 4 kB / 432.5 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.942e-05/0.2582, allocations: 39.91 kB / 432.5 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006546/0.2588, allocations: 371.8 kB / 432.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.2589, allocations: 62.5 kB / 432.9 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.522e-05/0.259, allocations: 20.84 kB / 433 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.259, allocations: 0 / 433 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.259, allocations: 30.56 kB / 433 MB, free: 4.184 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.259, allocations: 4 kB / 433 MB, free: 4.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007827/0.2598, allocations: 0.5174 MB / 433.5 MB, free: 3.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.2598, allocations: 51.41 kB / 433.6 MB, free: 3.508 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.927e-05/0.2599, allocations: 121.8 kB / 433.7 MB, free: 3.379 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.26, allocations: 25.7 kB / 433.7 MB, free: 3.348 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.2601, allocations: 96.03 kB / 433.8 MB, free: 3.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.2601, allocations: 35.69 kB / 433.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.501e-05/0.2601, allocations: 29.7 kB / 433.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.2603, allocations: 318.8 kB / 434.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.016e-05/0.2603, allocations: 19.98 kB / 434.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.624e-05/0.2604, allocations: 57.08 kB / 434.2 MB, free: 2.766 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.2605, allocations: 85.09 kB / 434.3 MB, free: 2.664 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.2605, allocations: 0 / 434.3 MB, free: 2.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001766/0.2607, allocations: 121.5 kB / 434.4 MB, free: 2.539 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.2607, allocations: 8 kB / 434.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2607, allocations: 0 / 434.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.2607, allocations: 4 kB / 434.5 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.686e-05/0.2608, allocations: 23.92 kB / 434.5 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.2608, allocations: 12.03 kB / 434.5 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.92e-05/0.2609, allocations: 4 kB / 434.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.577e-06/0.2609, allocations: 7.938 kB / 434.5 MB, free: 2.48 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.452e-05/0.261, allocations: 113.8 kB / 434.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.261, allocations: 7.953 kB / 434.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.923e-05/0.2611, allocations: 16.38 kB / 434.6 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2611, allocations: 0 / 434.6 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2611, allocations: 3.938 kB / 434.6 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.2611, allocations: 4.453 kB / 434.6 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005088/0.2616, allocations: 410.6 kB / 435 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2616, allocations: 0 / 435 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.511e-05/0.2617, allocations: 19.98 kB / 435.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.2617, allocations: 0 / 435.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.2617, allocations: 11.94 kB / 435.1 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.2617, allocations: 12.09 kB / 435.1 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2617, allocations: 0 / 435.1 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.262, allocations: 235.6 kB / 435.3 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.276e-05/0.262, allocations: 89.08 kB / 435.4 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.262, allocations: 4 kB / 435.4 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.882e-05/0.2621, allocations: 4 kB / 435.4 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.721e-05/0.2621, allocations: 4 kB / 435.4 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.2621, allocations: 4 kB / 435.4 MB, free: 1.426 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.497e-05/0.2622, allocations: 95.27 kB / 435.5 MB, free: 1.332 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2622, allocations: 0 / 435.5 MB, free: 1.332 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.2624, allocations: 12 kB / 435.5 MB, free: 1.32 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.0001193/0.2626, allocations: 111.2 kB / 435.6 MB, free: 1.203 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001487/0.2627, allocations: 63.78 kB / 435.7 MB, free: 1.141 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2627, allocations: 0 / 435.7 MB, free: 1.141 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.948e-05/0.2628, allocations: 27.92 kB / 435.7 MB, free: 1.113 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.2631, allocations: 12 kB / 435.7 MB, free: 1.102 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006326/0.2637, allocations: 347.5 kB / 436.1 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.264, allocations: 0.6968 MB / 436.8 MB, free: 16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.333e-05/0.2641, allocations: 8.422 kB / 436.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.2641, allocations: 11.81 kB / 436.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2641, allocations: 0 / 436.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of Templates: time 0.003299/0.2674, allocations: 0.695 MB / 437.5 MB, free: 15.29 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins/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 [Calling sys.exit(0), Time elapsed: 4.373161590658128]