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.005531/0.005531, allocations: 114.2 kB / 21.97 MB, free: 5.23 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.001607/0.001607, allocations: 211.5 kB / 25.27 MB, free: 3.246 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.267/1.267, allocations: 207.6 MB / 236 MB, free: 10 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.001658/0.001658, allocations: 54.59 kB / 348 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2306, allocations: 49.16 MB / 397.1 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002257/0.2328, allocations: 1.636 MB / 398.8 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001985/0.233, allocations: 67.81 kB / 398.8 MB, free: 7.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.887e-05/0.2331, allocations: 6.094 kB / 398.8 MB, free: 7.816 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.138e-05/0.2332, allocations: 7.469 kB / 398.8 MB, free: 7.812 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.443e-05/0.2332, allocations: 20.56 kB / 398.9 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000101/0.2333, allocations: 11.23 kB / 398.9 MB, free: 7.793 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.2334, allocations: 69.09 kB / 398.9 MB, free: 7.758 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.898e-05/0.2335, allocations: 24.7 kB / 399 MB, free: 7.746 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.421e-05/0.2335, allocations: 20.52 kB / 399 MB, free: 7.738 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.875e-05/0.2336, allocations: 29.11 kB / 399 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.2336, allocations: 5.562 kB / 399 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.376e-05/0.2336, allocations: 9.312 kB / 399 MB, free: 7.719 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.2336, allocations: 10.81 kB / 399 MB, free: 7.711 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.297e-05/0.2337, allocations: 29.39 kB / 399.1 MB, free: 7.695 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.2338, allocations: 69.3 kB / 399.1 MB, free: 7.668 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2338, allocations: 0 / 399.1 MB, free: 7.668 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2338, allocations: 0 / 399.1 MB, free: 7.668 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.2338, allocations: 1.938 kB / 399.1 MB, free: 7.668 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.0003129/0.2341, allocations: 286.8 kB / 399.4 MB, free: 7.383 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.2341, allocations: 18.56 kB / 399.4 MB, free: 7.375 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.625e-05/0.2342, allocations: 2.469 kB / 399.4 MB, free: 7.375 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.911e-05/0.2342, allocations: 38.92 kB / 399.5 MB, free: 7.332 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.325e-05/0.2342, allocations: 4.344 kB / 399.5 MB, free: 7.332 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.2343, allocations: 124.4 kB / 399.6 MB, free: 7.195 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.2343, allocations: 3.875 kB / 399.6 MB, free: 7.195 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.2344, allocations: 12.95 kB / 399.6 MB, free: 7.188 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.2345, allocations: 72.55 kB / 399.7 MB, free: 7.137 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.2345, allocations: 5.859 kB / 399.7 MB, free: 7.133 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.2345, allocations: 4 kB / 399.7 MB, free: 7.129 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.2345, allocations: 2.219 kB / 399.7 MB, free: 7.129 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.978e-05/0.2346, allocations: 33.33 kB / 399.7 MB, free: 7.121 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.235, allocations: 354.3 kB / 400.1 MB, free: 6.801 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.345e-05/0.2351, allocations: 57.12 kB / 400.1 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.852e-05/0.2352, allocations: 18.61 kB / 400.2 MB, free: 6.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.882e-06/0.2352, allocations: 5.25 kB / 400.2 MB, free: 6.746 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.323e-05/0.2352, allocations: 30.56 kB / 400.2 MB, free: 6.707 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.2352, allocations: 1.219 kB / 400.2 MB, free: 6.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005101/0.2357, allocations: 369.9 kB / 400.5 MB, free: 6.395 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.647e-05/0.2357, allocations: 60.59 kB / 400.6 MB, free: 6.324 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.048e-05/0.2358, allocations: 121.5 kB / 400.7 MB, free: 6.215 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.192e-06/0.2358, allocations: 25.7 kB / 400.8 MB, free: 6.184 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.933e-05/0.2358, allocations: 97.11 kB / 400.8 MB, free: 6.09 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.2358, allocations: 34.36 kB / 400.9 MB, free: 6.062 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/0.2358, allocations: 26.8 kB / 400.9 MB, free: 6.039 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.424e-05/0.2359, allocations: 320.4 kB / 401.2 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.187e-05/0.2359, allocations: 15.61 kB / 401.2 MB, free: 5.719 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.348e-05/0.236, allocations: 67.3 kB / 401.3 MB, free: 5.652 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.924e-05/0.236, allocations: 83.45 kB / 401.4 MB, free: 5.582 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.236, allocations: 1.25 kB / 401.4 MB, free: 5.582 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001304/0.2362, allocations: 113.8 kB / 401.5 MB, free: 5.516 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.2362, allocations: 5.031 kB / 401.5 MB, free: 5.516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2362, allocations: 2.828 kB / 401.5 MB, free: 5.516 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.2362, allocations: 1.312 kB / 401.5 MB, free: 5.516 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.876e-05/0.2363, allocations: 38.33 kB / 401.5 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.2363, allocations: 6.891 kB / 401.5 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.684e-05/0.2363, allocations: 2.438 kB / 401.5 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.2363, allocations: 3.844 kB / 401.6 MB, free: 5.496 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.959e-05/0.2364, allocations: 127.2 kB / 401.7 MB, free: 5.367 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.2364, allocations: 7.141 kB / 401.7 MB, free: 5.363 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.588e-05/0.2364, allocations: 10.73 kB / 401.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2364, allocations: 10.48 kB / 401.7 MB, free: 5.348 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2364, allocations: 0 / 401.7 MB, free: 5.348 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2364, allocations: 1.438 kB / 401.7 MB, free: 5.348 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003667/0.2368, allocations: 378.4 kB / 402.1 MB, free: 4.996 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.2368, allocations: 1.188 kB / 402.1 MB, free: 4.996 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.237e-05/0.2369, allocations: 26.14 kB / 402.1 MB, free: 4.988 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.2369, allocations: 2.75 kB / 402.1 MB, free: 4.988 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.2369, allocations: 1.969 kB / 402.1 MB, free: 4.988 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2369, allocations: 2.531 kB / 402.1 MB, free: 4.988 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.2369, allocations: 2.812 kB / 402.1 MB, free: 4.988 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.2371, allocations: 230.9 kB / 402.3 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.309e-05/0.2371, allocations: 11.89 kB / 402.3 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.2371, allocations: 3.359 kB / 402.4 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.59e-05/0.2372, allocations: 6.562 kB / 402.4 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.614e-05/0.2372, allocations: 17.94 kB / 402.4 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.2372, allocations: 6.062 kB / 402.4 MB, free: 4.758 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.876e-05/0.2372, allocations: 89.8 kB / 402.5 MB, free: 4.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2372, allocations: 0 / 402.5 MB, free: 4.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002383/0.2375, allocations: 21.5 kB / 402.5 MB, free: 4.672 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.000262/0.2377, allocations: 0.7612 MB / 403.3 MB, free: 3.934 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001102/0.2378, allocations: 59.09 kB / 403.3 MB, free: 3.914 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2378, allocations: 4.25 kB / 403.3 MB, free: 3.91 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.334e-05/0.2379, allocations: 29.98 kB / 403.3 MB, free: 3.898 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.2382, allocations: 11.91 kB / 403.4 MB, free: 3.895 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.2393, allocations: 1.674 MB / 405 MB, free: 2.336 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.2394, allocations: 0.6955 MB / 405.7 MB, free: 1.637 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.194e-05/0.2394, allocations: 7.047 kB / 405.7 MB, free: 1.637 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.758e-05/0.2394, allocations: 21.58 kB / 405.8 MB, free: 1.621 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2394, allocations: 0 / 405.8 MB, free: 1.621 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02215/0.2616, allocations: 2.098 MB / 407.9 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/10.65, allocations: 11.67 kB / 407.9 MB, free: 0.9609 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.769823467999231]