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.001267/0.001267, allocations: 104.1 kB / 21.96 MB, free: 5.219 MB / 14.72 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.001366/0.001366, allocations: 214 kB / 25.26 MB, free: 3.129 MB / 14.72 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 1.294/1.294, allocations: 207.7 MB / 236.1 MB, free: 9.785 MB / 190.1 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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 62.11 kB / 348 MB, free: 9.988 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2214, allocations: 49.16 MB / 397.1 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002341/0.2237, allocations: 1.598 MB / 398.7 MB, free: 7.777 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002014/0.2239, allocations: 69.34 kB / 398.8 MB, free: 7.727 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.698e-05/0.224, allocations: 1 kB / 398.8 MB, free: 7.727 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.776e-05/0.2241, allocations: 16.05 kB / 398.8 MB, free: 7.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.484e-05/0.2241, allocations: 16.5 kB / 398.8 MB, free: 7.703 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001041/0.2242, allocations: 15.33 kB / 398.8 MB, free: 7.695 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.2243, allocations: 68.3 kB / 398.9 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.747e-05/0.2244, allocations: 15.81 kB / 398.9 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.644e-05/0.2245, allocations: 26.27 kB / 398.9 MB, free: 7.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.965e-05/0.2245, allocations: 29.5 kB / 399 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.2245, allocations: 9.844 kB / 399 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.491e-05/0.2246, allocations: 4.281 kB / 399 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.2246, allocations: 7.938 kB / 399 MB, free: 7.621 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.321e-05/0.2246, allocations: 28.22 kB / 399 MB, free: 7.605 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.2247, allocations: 65.58 kB / 399.1 MB, free: 7.582 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2247, allocations: 1.031 kB / 399.1 MB, free: 7.582 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2247, allocations: 0.6562 kB / 399.1 MB, free: 7.582 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.2247, allocations: 0 / 399.1 MB, free: 7.582 MB / 318.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.0003171/0.225, allocations: 285.6 kB / 399.4 MB, free: 7.301 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.2251, allocations: 17.98 kB / 399.4 MB, free: 7.293 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.744e-05/0.2251, allocations: 1.281 kB / 399.4 MB, free: 7.293 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.027e-05/0.2251, allocations: 41.98 kB / 399.4 MB, free: 7.246 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.473e-05/0.2251, allocations: 10.22 kB / 399.4 MB, free: 7.242 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.2253, allocations: 128.8 kB / 399.6 MB, free: 7.102 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.2253, allocations: 6.531 kB / 399.6 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.2253, allocations: 8.938 kB / 399.6 MB, free: 7.094 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.2254, allocations: 72.17 kB / 399.6 MB, free: 7.047 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.2254, allocations: 0 / 399.6 MB, free: 7.047 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.2255, allocations: 1.406 kB / 399.6 MB, free: 7.047 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2255, allocations: 5.344 kB / 399.7 MB, free: 7.043 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.238e-05/0.2255, allocations: 41.31 kB / 399.7 MB, free: 7.027 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000474/0.226, allocations: 336.1 kB / 400 MB, free: 6.719 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.935e-05/0.2261, allocations: 57.34 kB / 400.1 MB, free: 6.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.858e-05/0.2261, allocations: 21.14 kB / 400.1 MB, free: 6.664 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.2261, allocations: 1.188 kB / 400.1 MB, free: 6.664 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.366e-05/0.2261, allocations: 33.11 kB / 400.1 MB, free: 6.625 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.2261, allocations: 0 / 400.1 MB, free: 6.625 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005245/0.2267, allocations: 374.5 kB / 400.5 MB, free: 6.309 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/0.2267, allocations: 57.38 kB / 400.6 MB, free: 6.242 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.992e-05/0.2268, allocations: 115.8 kB / 400.7 MB, free: 6.137 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.241e-06/0.2268, allocations: 26.8 kB / 400.7 MB, free: 6.105 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.934e-05/0.2268, allocations: 97.91 kB / 400.8 MB, free: 6.012 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.2268, allocations: 34.31 kB / 400.8 MB, free: 5.984 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.2268, allocations: 26.88 kB / 400.8 MB, free: 5.961 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.595e-05/0.2269, allocations: 320 kB / 401.2 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.356e-05/0.2269, allocations: 16.38 kB / 401.2 MB, free: 5.641 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.648e-05/0.227, allocations: 68.98 kB / 401.2 MB, free: 5.574 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.818e-05/0.227, allocations: 88.95 kB / 401.3 MB, free: 5.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.227, allocations: 0 / 401.3 MB, free: 5.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001439/0.2272, allocations: 114.4 kB / 401.4 MB, free: 5.434 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.2272, allocations: 5.656 kB / 401.4 MB, free: 5.434 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2272, allocations: 1.125 kB / 401.5 MB, free: 5.434 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.2272, allocations: 2.406 kB / 401.5 MB, free: 5.434 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.861e-05/0.2273, allocations: 29.67 kB / 401.5 MB, free: 5.426 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.2273, allocations: 7.984 kB / 401.5 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.719e-05/0.2273, allocations: 5.469 kB / 401.5 MB, free: 5.418 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.2273, allocations: 4 kB / 401.5 MB, free: 5.418 MB / 318.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 4.787e-05/0.2274, allocations: 114.7 kB / 401.6 MB, free: 5.301 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.2274, allocations: 8.828 kB / 401.6 MB, free: 5.297 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.622e-05/0.2274, allocations: 15.08 kB / 401.6 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.2274, allocations: 4.781 kB / 401.6 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2274, allocations: 0 / 401.6 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.2274, allocations: 1.594 kB / 401.6 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003359/0.2278, allocations: 378.5 kB / 402 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2278, allocations: 1.188 kB / 402 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.303e-05/0.2279, allocations: 18.72 kB / 402 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.2279, allocations: 3.188 kB / 402 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.2279, allocations: 6.234 kB / 402 MB, free: 4.922 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.2279, allocations: 10.94 kB / 402 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2279, allocations: 1.031 kB / 402.1 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.228, allocations: 233.1 kB / 402.3 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.314e-05/0.2281, allocations: 13.48 kB / 402.3 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.2281, allocations: 2.891 kB / 402.3 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.709e-05/0.2281, allocations: 6.344 kB / 402.3 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.629e-05/0.2282, allocations: 7.844 kB / 402.3 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.2282, allocations: 3.594 kB / 402.3 MB, free: 4.695 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.128e-05/0.2282, allocations: 90.48 kB / 402.4 MB, free: 4.617 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2282, allocations: 288 / 402.4 MB, free: 4.617 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.2284, allocations: 21.41 kB / 402.4 MB, free: 4.609 MB / 318.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.0002767/0.2287, allocations: 0.7692 MB / 403.2 MB, free: 3.867 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.2288, allocations: 61.97 kB / 403.3 MB, free: 3.844 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2288, allocations: 0 / 403.3 MB, free: 3.844 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.478e-05/0.2289, allocations: 27.22 kB / 403.3 MB, free: 3.836 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.2292, allocations: 12.25 kB / 403.3 MB, free: 3.832 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.2303, allocations: 1.671 MB / 405 MB, free: 2.285 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.111e-05/0.2303, allocations: 75.83 kB / 405 MB, free: 2.215 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.352e-05/0.2304, allocations: 7 kB / 405 MB, free: 2.215 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.84e-05/0.2304, allocations: 22.89 kB / 405.1 MB, free: 2.199 MB / 318.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2304, allocations: 0 / 405.1 MB, free: 2.199 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/0.2531, allocations: 2.122 MB / 407.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.74, allocations: 3 kB / 407.2 MB, free: 1.488 MB / 318.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 12.901275690994225]