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.0009355/0.0009355, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008991/0.0008991, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.8598/0.8598, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.166e-05/2.386e-05, allocations: 2.844 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002108/0.002132, allocations: 1.63 MB / 326.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002375/0.002369, allocations: 83.64 kB / 326.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.638e-05/0.002436, allocations: 0 / 326.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.761e-05/0.002533, allocations: 3.938 kB / 326.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.627e-05/0.002579, allocations: 15.86 kB / 326.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000127/0.002706, allocations: 23.91 kB / 326.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.002815, allocations: 63.72 kB / 326.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.002926, allocations: 19.92 kB / 326.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.231e-05/0.002978, allocations: 35.97 kB / 326.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.471e-05/0.003033, allocations: 23.91 kB / 326.4 MB, free: 14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.003054, allocations: 8 kB / 326.4 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.698e-06/0.003064, allocations: 4 kB / 326.4 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.003083, allocations: 11.98 kB / 326.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.003106, allocations: 15.94 kB / 326.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.003227, allocations: 75.64 kB / 326.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.00323, allocations: 0 / 326.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.003232, allocations: 0 / 326.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.003236, allocations: 0 / 326.5 MB, free: 13.89 MB / 298.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.0003636/0.0036, allocations: 286.2 kB / 326.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.00364, allocations: 11.98 kB / 326.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.185e-05/0.003672, allocations: 42.75 kB / 326.8 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.455e-05/0.003697, allocations: 4.891 kB / 326.8 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.003874, allocations: 129.7 kB / 327 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.003885, allocations: 4.375 kB / 327 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.003906, allocations: 8.375 kB / 327 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.004032, allocations: 73.12 kB / 327 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.004043, allocations: 192 / 327 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.004052, allocations: 4.375 kB / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.004058, allocations: 8.125 kB / 327.1 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.084e-05/0.004118, allocations: 31.97 kB / 327.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005013/0.00462, allocations: 335 kB / 327.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.693e-05/0.004707, allocations: 58.5 kB / 327.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.958e-05/0.004736, allocations: 20.84 kB / 327.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.988e-06/0.004746, allocations: 0 / 327.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.004763, allocations: 30.56 kB / 327.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.004765, allocations: 0 / 327.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005406/0.005305, allocations: 379.7 kB / 327.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.005334, allocations: 55.41 kB / 328 MB, free: 12.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.395e-05/0.005408, allocations: 121.8 kB / 328.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.288e-06/0.005417, allocations: 25.7 kB / 328.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.672e-05/0.005464, allocations: 96.05 kB / 328.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.005484, allocations: 39.66 kB / 328.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-05/0.005518, allocations: 29.7 kB / 328.3 MB, free: 11.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.917e-05/0.005597, allocations: 326.7 kB / 328.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.701e-05/0.005624, allocations: 23.92 kB / 328.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.924e-05/0.005674, allocations: 64.64 kB / 328.7 MB, free: 11.47 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.46e-05/0.005748, allocations: 89.08 kB / 328.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.005749, allocations: 0 / 328.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001084/0.005857, allocations: 109.5 kB / 328.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.005871, allocations: 8 kB / 328.9 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.005876, allocations: 0 / 328.9 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.00589, allocations: 4 kB / 328.9 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.143e-05/0.005951, allocations: 27.92 kB / 328.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.005957, allocations: 4 kB / 328.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.229e-05/0.00598, allocations: 0 / 328.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.005987, allocations: 8.031 kB / 328.9 MB, free: 11.2 MB / 298.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 6.305e-05/0.00605, allocations: 125.8 kB / 329 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.006064, allocations: 3.953 kB / 329 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.552e-05/0.00609, allocations: 12.44 kB / 329 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.006092, allocations: 0 / 329 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.006095, allocations: 3.938 kB / 329.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.006101, allocations: 4.453 kB / 329.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003488/0.006449, allocations: 365.7 kB / 329.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.006452, allocations: 8.156 kB / 329.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.962e-05/0.006502, allocations: 19.98 kB / 329.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-06/0.006505, allocations: 7.875 kB / 329.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.006515, allocations: 11.94 kB / 329.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.006517, allocations: 0 / 329.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.00652, allocations: 4 kB / 329.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.006689, allocations: 219.7 kB / 329.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.524e-05/0.006704, allocations: 7.984 kB / 329.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.006721, allocations: 11.94 kB / 329.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.741e-05/0.006758, allocations: 0 / 329.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/0.006776, allocations: 12.05 kB / 329.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.006781, allocations: 8 kB / 329.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.024e-05/0.006822, allocations: 95.2 kB / 329.8 MB, free: 10.19 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006822, allocations: 0 / 329.8 MB, free: 10.19 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001631/0.006985, allocations: 16 kB / 329.8 MB, free: 10.18 MB / 298.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 0.0003628/0.007347, allocations: 0.7635 MB / 330.6 MB, free: 9.367 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001166/0.007464, allocations: 60.09 kB / 330.6 MB, free: 9.309 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.007466, allocations: 4 kB / 330.7 MB, free: 9.305 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.407e-05/0.00749, allocations: 23.94 kB / 330.7 MB, free: 9.281 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.007758, allocations: 15.98 kB / 330.7 MB, free: 9.266 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.008929, allocations: 1.611 MB / 332.3 MB, free: 7.508 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.248e-05/0.008992, allocations: 79.33 kB / 332.4 MB, free: 7.41 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.51e-05/0.009027, allocations: 16.42 kB / 332.4 MB, free: 7.395 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.214e-05/0.009079, allocations: 28.44 kB / 332.4 MB, free: 7.367 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.00908, allocations: 0 / 332.4 MB, free: 7.367 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0168/0.02588, allocations: 2.562 MB / 335 MB, free: 4.91 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.673/6.699, allocations: 0 / 335 MB, free: 4.91 MB / 298.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 52.5] 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: 8.304098471999168]