Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008234/0.0008234, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008601/0.0008601, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.839/0.839, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/2.019e-05, allocations: 2.281 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002126/0.002146, allocations: 1.628 MB / 326.2 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002077/0.002354, allocations: 67.78 kB / 326.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.783e-05/0.002412, allocations: 0 / 326.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.358e-05/0.002505, allocations: 11.86 kB / 326.3 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.031e-05/0.002546, allocations: 19.8 kB / 326.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000116/0.002662, allocations: 19.97 kB / 326.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001/0.002762, allocations: 71.66 kB / 326.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.002879, allocations: 19.98 kB / 326.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.904e-05/0.002928, allocations: 39.89 kB / 326.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.131e-05/0.002979, allocations: 19.92 kB / 326.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.002999, allocations: 8 kB / 326.5 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.448e-06/0.003008, allocations: 4 kB / 326.5 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.003025, allocations: 11.98 kB / 326.5 MB, free: 14.01 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.311e-05/0.003048, allocations: 19.92 kB / 326.5 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.003152, allocations: 67.78 kB / 326.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.003155, allocations: 0 / 326.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.003155, allocations: 0 / 326.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.003159, allocations: 0 / 326.6 MB, free: 13.93 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.0003186/0.003477, allocations: 289.1 kB / 326.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.003512, allocations: 12.03 kB / 326.8 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.922e-05/0.003541, allocations: 38.75 kB / 326.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.176e-05/0.003563, allocations: 8.875 kB / 326.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.0037, allocations: 125.6 kB / 327 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.00371, allocations: 12.36 kB / 327 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.003732, allocations: 4.375 kB / 327 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.00384, allocations: 70.23 kB / 327.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.003849, allocations: 192 / 327.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-06/0.003858, allocations: 384 / 327.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.003864, allocations: 8.125 kB / 327.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.661e-05/0.00392, allocations: 31.98 kB / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.004341, allocations: 342.9 kB / 327.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.378e-05/0.004414, allocations: 54.56 kB / 327.5 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.474e-05/0.004439, allocations: 20.86 kB / 327.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.004448, allocations: 0 / 327.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/0.004463, allocations: 34.5 kB / 327.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 8.41e-07/0.004464, allocations: 0 / 327.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004665/0.00493, allocations: 375.2 kB / 328 MB, free: 12.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.004956, allocations: 55.41 kB / 328 MB, free: 12.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.085e-05/0.005017, allocations: 121.8 kB / 328.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.005027, allocations: 29.7 kB / 328.2 MB, free: 12.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.988e-05/0.005067, allocations: 100 kB / 328.3 MB, free: 12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.005082, allocations: 31.69 kB / 328.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.005111, allocations: 25.7 kB / 328.3 MB, free: 11.94 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.521e-05/0.005177, allocations: 322.8 kB / 328.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.543e-05/0.005202, allocations: 19.98 kB / 328.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.432e-05/0.005246, allocations: 57.14 kB / 328.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.176e-05/0.005318, allocations: 97 kB / 328.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.005319, allocations: 0 / 328.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.708e-05/0.005416, allocations: 109.5 kB / 328.9 MB, free: 11.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.005428, allocations: 8 kB / 328.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.005433, allocations: 0 / 328.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.005445, allocations: 4 kB / 328.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.962e-05/0.005495, allocations: 19.98 kB / 328.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.0055, allocations: 7.938 kB / 328.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.091e-05/0.005521, allocations: 0 / 328.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.005528, allocations: 16.03 kB / 329 MB, free: 11.24 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 5.288e-05/0.005581, allocations: 121.8 kB / 329.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.005593, allocations: 3.953 kB / 329.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.261e-05/0.005616, allocations: 16.42 kB / 329.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.005617, allocations: 480 / 329.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.00562, allocations: 0 / 329.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.005623, allocations: 0 / 329.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.005916, allocations: 373.7 kB / 329.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.005919, allocations: 12.16 kB / 329.5 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.424e-05/0.005963, allocations: 27.92 kB / 329.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.005966, allocations: 3.938 kB / 329.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.005973, allocations: 4 kB / 329.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.005974, allocations: 0 / 329.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.005976, allocations: 4 kB / 329.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.006117, allocations: 227.7 kB / 329.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.816e-06/0.006125, allocations: 8.172 kB / 329.7 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.006139, allocations: 11.92 kB / 329.8 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.691e-05/0.006176, allocations: 0 / 329.8 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/0.006192, allocations: 16.05 kB / 329.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.006195, allocations: 4 kB / 329.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.898e-05/0.006234, allocations: 91.27 kB / 329.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006234, allocations: 0 / 329.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001606/0.006395, allocations: 20 kB / 329.9 MB, free: 10.21 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.0002789/0.006674, allocations: 0.7595 MB / 330.6 MB, free: 9.406 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.447e-05/0.006768, allocations: 51.92 kB / 330.7 MB, free: 9.355 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.00677, allocations: 8.188 kB / 330.7 MB, free: 9.348 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.396e-05/0.006794, allocations: 27.92 kB / 330.7 MB, free: 9.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.007045, allocations: 16.47 kB / 330.7 MB, free: 9.305 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009666/0.008011, allocations: 1.626 MB / 332.4 MB, free: 7.535 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.549e-05/0.008057, allocations: 83.33 kB / 332.4 MB, free: 7.434 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.274e-05/0.00808, allocations: 8.5 kB / 332.5 MB, free: 7.426 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/0.008115, allocations: 24.48 kB / 332.5 MB, free: 7.402 MB / 298.7 MB Notification: Performance of SimCode: time 3.91e-07/0.008115, allocations: 0 / 332.5 MB, free: 7.402 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01407/0.02218, allocations: 2.563 MB / 335 MB, free: 4.965 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.439/6.461, allocations: 14.98 kB / 335.1 MB, free: 4.953 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 8.005767435766757]