Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001034/0.001034, allocations: 75.77 kB / 22.45 MB, free: 2.094 MB / 18.57 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.001263/0.001263, allocations: 159 kB / 25.74 MB, free: 8.93 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9688/0.9688, allocations: 158.6 MB / 187.5 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 251.1 MB, free: 7.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.713e-05/2.89e-05, allocations: 2.312 kB / 251.1 MB, free: 7.816 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003211/0.00324, allocations: 1.673 MB / 252.8 MB, free: 6.129 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002874/0.003527, allocations: 71.72 kB / 252.8 MB, free: 6.059 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.087e-05/0.003598, allocations: 0 / 252.8 MB, free: 6.059 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.003703, allocations: 3.938 kB / 252.8 MB, free: 6.055 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 5.935e-05/0.003762, allocations: 23.78 kB / 252.9 MB, free: 6.031 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001307/0.003893, allocations: 11.98 kB / 252.9 MB, free: 6.02 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.004031, allocations: 71.66 kB / 252.9 MB, free: 5.949 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.004149, allocations: 15.98 kB / 253 MB, free: 5.934 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.149e-05/0.004221, allocations: 35.91 kB / 253 MB, free: 5.898 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.128e-05/0.004292, allocations: 19.97 kB / 253 MB, free: 5.879 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.004315, allocations: 4 kB / 253 MB, free: 5.875 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.371e-05/0.004329, allocations: 7.938 kB / 253 MB, free: 5.867 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.268e-05/0.004352, allocations: 15.98 kB / 253 MB, free: 5.852 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.004386, allocations: 15.94 kB / 253.1 MB, free: 5.836 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.004527, allocations: 47.81 kB / 253.1 MB, free: 5.789 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.004529, allocations: 0 / 253.1 MB, free: 5.789 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.00453, allocations: 0 / 253.1 MB, free: 5.789 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.004535, allocations: 4 kB / 253.1 MB, free: 5.785 MB / 234.7 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.0004432/0.004978, allocations: 392.5 kB / 253.5 MB, free: 5.363 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.005019, allocations: 11.98 kB / 253.5 MB, free: 5.352 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.37e-05/0.005072, allocations: 16.83 kB / 253.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.005252, allocations: 132.5 kB / 253.6 MB, free: 5.18 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.005267, allocations: 4.375 kB / 253.7 MB, free: 5.176 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.005292, allocations: 8.312 kB / 253.7 MB, free: 5.168 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.005429, allocations: 62.22 kB / 253.7 MB, free: 5.102 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.005443, allocations: 4.188 kB / 253.7 MB, free: 5.098 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.005456, allocations: 8.375 kB / 253.7 MB, free: 5.09 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.005465, allocations: 384 / 253.7 MB, free: 5.09 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.255e-05/0.005537, allocations: 27.91 kB / 253.8 MB, free: 5.062 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000631/0.006168, allocations: 354.8 kB / 254.1 MB, free: 4.672 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.852e-05/0.006267, allocations: 50.98 kB / 254.2 MB, free: 4.609 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.78e-05/0.006304, allocations: 23.67 kB / 254.2 MB, free: 4.582 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.744e-06/0.006312, allocations: 0 / 254.2 MB, free: 4.582 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.006338, allocations: 37.39 kB / 254.2 MB, free: 4.535 MB / 234.7 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.00634, allocations: 0 / 254.2 MB, free: 4.535 MB / 234.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007003/0.00704, allocations: 360.2 kB / 254.6 MB, free: 4.121 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.007078, allocations: 63.34 kB / 254.6 MB, free: 4.047 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.632e-05/0.007175, allocations: 165.9 kB / 254.8 MB, free: 3.867 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.007187, allocations: 25.7 kB / 254.8 MB, free: 3.836 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.098e-05/0.007248, allocations: 142.8 kB / 255 MB, free: 3.691 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.007279, allocations: 39.66 kB / 255 MB, free: 3.652 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.361e-05/0.007333, allocations: 35.36 kB / 255 MB, free: 3.609 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.007465, allocations: 496.1 kB / 255.5 MB, free: 3.113 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.601e-05/0.007501, allocations: 19.98 kB / 255.5 MB, free: 3.094 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.532e-05/0.007567, allocations: 66.11 kB / 255.6 MB, free: 3.004 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.007667, allocations: 86.06 kB / 255.7 MB, free: 2.895 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.007669, allocations: 0 / 255.7 MB, free: 2.895 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001615/0.00783, allocations: 105.4 kB / 255.8 MB, free: 2.785 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.007848, allocations: 8 kB / 255.8 MB, free: 2.777 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.007853, allocations: 0 / 255.8 MB, free: 2.777 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.007868, allocations: 4 kB / 255.8 MB, free: 2.773 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.689e-05/0.007955, allocations: 24.22 kB / 255.8 MB, free: 2.75 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.007963, allocations: 8 kB / 255.8 MB, free: 2.742 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.578e-05/0.007999, allocations: 0 / 255.8 MB, free: 2.742 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.008008, allocations: 4 kB / 255.8 MB, free: 2.738 MB / 234.7 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.409e-05/0.008092, allocations: 168.5 kB / 256 MB, free: 2.562 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.008125, allocations: 19.88 kB / 256 MB, free: 2.543 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.231e-05/0.008158, allocations: 12.44 kB / 256 MB, free: 2.531 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.008159, allocations: 0 / 256 MB, free: 2.531 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.008163, allocations: 0 / 256 MB, free: 2.531 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.008168, allocations: 3.984 kB / 256 MB, free: 2.527 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004511/0.008619, allocations: 403.7 kB / 256.4 MB, free: 2.07 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.008623, allocations: 4 kB / 256.4 MB, free: 2.066 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.343e-05/0.008706, allocations: 15.94 kB / 256.4 MB, free: 2.051 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.008713, allocations: 4 kB / 256.4 MB, free: 2.047 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.008725, allocations: 4 kB / 256.5 MB, free: 2.043 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.008729, allocations: 1.172 kB / 256.5 MB, free: 2.043 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.008734, allocations: 7.922 kB / 256.5 MB, free: 2.035 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.008966, allocations: 274.5 kB / 256.7 MB, free: 1.723 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.431e-05/0.00898, allocations: 15.97 kB / 256.7 MB, free: 1.707 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.008997, allocations: 4 kB / 256.7 MB, free: 1.703 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.934e-05/0.009066, allocations: 7.938 kB / 256.8 MB, free: 1.695 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.572e-05/0.009092, allocations: 11.92 kB / 256.8 MB, free: 1.684 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.009099, allocations: 4 kB / 256.8 MB, free: 1.68 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.322e-05/0.009152, allocations: 127.2 kB / 256.9 MB, free: 1.555 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.009152, allocations: 0 / 256.9 MB, free: 1.555 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002826/0.009435, allocations: 16 kB / 256.9 MB, free: 1.539 MB / 234.7 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 9.928e-05/0.009534, allocations: 95.23 kB / 257 MB, free: 1.438 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001349/0.009669, allocations: 67.58 kB / 257.1 MB, free: 1.367 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.009671, allocations: 0 / 257.1 MB, free: 1.367 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 4.16e-05/0.009713, allocations: 31.61 kB / 257.1 MB, free: 1.332 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.01005, allocations: 15.09 kB / 257.1 MB, free: 1.32 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005523/0.01061, allocations: 313.4 kB / 257.4 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.818e-05/0.01065, allocations: 59.34 kB / 257.5 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.288e-05/0.01069, allocations: 8.5 kB / 257.5 MB, free: 0.8789 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.01072, allocations: 12.5 kB / 257.5 MB, free: 0.8672 MB / 234.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01072, allocations: 4 kB / 257.5 MB, free: 0.8633 MB / 234.7 MB Notification: Performance of Templates: time 0.002986/0.0137, allocations: 0.6361 MB / 258.1 MB, free: 236 kB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7080259840004146]