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.001154/0.001154, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.004565/0.004565, allocations: 165.6 kB / 24.7 MB, free: 8.887 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.8/0.8, allocations: 158.6 MB / 186.5 MB, free: 3.035 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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.494e-05, allocations: 6.281 kB / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002143/0.002158, allocations: 1.605 MB / 300 MB, free: 1.895 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002082/0.002366, allocations: 63.8 kB / 300.1 MB, free: 1.832 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.951e-05/0.002425, allocations: 7.938 kB / 300.1 MB, free: 1.824 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.282e-05/0.002518, allocations: 7.922 kB / 300.1 MB, free: 1.816 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.165e-05/0.00256, allocations: 23.78 kB / 300.1 MB, free: 1.793 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001249/0.002685, allocations: 15.98 kB / 300.2 MB, free: 1.777 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.002788, allocations: 67.66 kB / 300.2 MB, free: 1.711 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.002904, allocations: 19.92 kB / 300.2 MB, free: 1.691 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.657e-05/0.002951, allocations: 35.91 kB / 300.3 MB, free: 1.656 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.422e-05/0.003005, allocations: 19.97 kB / 300.3 MB, free: 1.637 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.003027, allocations: 4 kB / 300.3 MB, free: 1.633 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.548e-06/0.003037, allocations: 8 kB / 300.3 MB, free: 1.625 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.974e-05/0.003056, allocations: 15.92 kB / 300.3 MB, free: 1.609 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.00308, allocations: 19.92 kB / 300.3 MB, free: 1.59 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.003182, allocations: 59.84 kB / 300.4 MB, free: 1.531 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.003184, allocations: 0 / 300.4 MB, free: 1.531 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.003185, allocations: 0 / 300.4 MB, free: 1.531 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.003189, allocations: 0 / 300.4 MB, free: 1.531 MB / 282.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.0003456/0.003534, allocations: 294.1 kB / 300.7 MB, free: 1.211 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.003572, allocations: 15.92 kB / 300.7 MB, free: 1.195 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.248e-05/0.003604, allocations: 42.73 kB / 300.7 MB, free: 1.145 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.199e-05/0.003626, allocations: 8.938 kB / 300.7 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.003781, allocations: 121.7 kB / 300.9 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.00379, allocations: 4.375 kB / 300.9 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.003813, allocations: 12.31 kB / 300.9 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.003938, allocations: 66.23 kB / 300.9 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.003948, allocations: 192 / 300.9 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.003958, allocations: 4.375 kB / 301 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.003965, allocations: 8.125 kB / 301 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.881e-05/0.004024, allocations: 35.91 kB / 301 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004368/0.004461, allocations: 334.9 kB / 301.3 MB, free: 496 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.773e-05/0.004538, allocations: 62.5 kB / 301.4 MB, free: 424 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.509e-05/0.004563, allocations: 17.58 kB / 301.4 MB, free: 404 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.006e-06/0.004572, allocations: 0 / 301.4 MB, free: 404 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.004588, allocations: 34.56 kB / 301.4 MB, free: 360 kB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 9.71e-07/0.004589, allocations: 4 kB / 301.4 MB, free: 356 kB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.1173/0.1219, allocations: 369.3 kB / 301.8 MB, free: 15.7 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.1219, allocations: 52.34 kB / 301.9 MB, free: 15.63 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.692e-05/0.122, allocations: 116.9 kB / 302 MB, free: 15.54 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.122, allocations: 30.92 kB / 302 MB, free: 15.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.984e-05/0.122, allocations: 95.91 kB / 302.1 MB, free: 15.42 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.122, allocations: 39.33 kB / 302.1 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.1221, allocations: 23.86 kB / 302.2 MB, free: 15.39 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.019e-05/0.1221, allocations: 324.4 kB / 302.5 MB, free: 15.08 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.123e-05/0.1222, allocations: 19.11 kB / 302.5 MB, free: 15.08 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.834e-05/0.1222, allocations: 61.58 kB / 302.5 MB, free: 15.03 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.36e-05/0.1223, allocations: 82.36 kB / 302.6 MB, free: 14.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1223, allocations: 2.281 kB / 302.6 MB, free: 14.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001252/0.1224, allocations: 111.4 kB / 302.7 MB, free: 14.95 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1224, allocations: 9.25 kB / 302.7 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.1224, allocations: 2.234 kB / 302.7 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.1225, allocations: 2.438 kB / 302.8 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.453e-05/0.1225, allocations: 27.72 kB / 302.8 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1225, allocations: 2.672 kB / 302.8 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.499e-05/0.1226, allocations: 6.375 kB / 302.8 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1226, allocations: 4.656 kB / 302.8 MB, free: 14.95 MB / 282.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 4.086e-05/0.1226, allocations: 119.6 kB / 302.9 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/0.1226, allocations: 12.7 kB / 302.9 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.178e-05/0.1226, allocations: 9.281 kB / 302.9 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1226, allocations: 5.609 kB / 302.9 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1226, allocations: 4.844 kB / 302.9 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1227, allocations: 1.875 kB / 302.9 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.123, allocations: 367.8 kB / 303.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.123, allocations: 5.641 kB / 303.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.876e-05/0.123, allocations: 25.36 kB / 303.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.123, allocations: 3.5 kB / 303.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.123, allocations: 2.156 kB / 303.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.123, allocations: 2.75 kB / 303.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.123, allocations: 4.969 kB / 303.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.1232, allocations: 230.8 kB / 303.6 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.1232, allocations: 9.734 kB / 303.6 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.1232, allocations: 3.203 kB / 303.6 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.717e-05/0.1232, allocations: 2.438 kB / 303.6 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.1232, allocations: 21.09 kB / 303.6 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.1232, allocations: 4.375 kB / 303.6 MB, free: 14.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.297e-05/0.1233, allocations: 92.2 kB / 303.7 MB, free: 14.24 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1233, allocations: 0 / 303.7 MB, free: 14.24 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001597/0.1234, allocations: 17.78 kB / 303.7 MB, free: 14.24 MB / 282.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.0001932/0.1236, allocations: 0.7574 MB / 304.5 MB, free: 13.51 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.1237, allocations: 58.02 kB / 304.5 MB, free: 13.49 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1237, allocations: 0 / 304.5 MB, free: 13.49 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.484e-05/0.1237, allocations: 30.31 kB / 304.6 MB, free: 13.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.124, allocations: 22.22 kB / 304.6 MB, free: 13.47 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008683/0.1248, allocations: 1.612 MB / 306.2 MB, free: 11.99 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.224e-05/0.1249, allocations: 74.66 kB / 306.3 MB, free: 11.92 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.874e-05/0.1249, allocations: 7.859 kB / 306.3 MB, free: 11.91 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.764e-05/0.1249, allocations: 26.75 kB / 306.3 MB, free: 11.89 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1249, allocations: 0 / 306.3 MB, free: 11.89 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01474/0.1397, allocations: 2.585 MB / 308.9 MB, free: 10.78 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.755/6.895, allocations: 5.391 kB / 308.9 MB, free: 10.78 MB / 282.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins/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: 8.35875963512808]