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.001348/0.001348, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.001968/0.001968, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.407/1.407, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] 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: 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.001787/0.001787, allocations: 56.3 kB / 347.2 MB, free: 10.16 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2902, allocations: 49.17 MB / 396.3 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002767/0.2929, allocations: 1.641 MB / 398 MB, free: 7.855 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002442/0.2932, allocations: 68.66 kB / 398 MB, free: 7.805 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.893e-05/0.2932, allocations: 2.312 kB / 398 MB, free: 7.805 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.2934, allocations: 10.59 kB / 398.1 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.149e-05/0.2934, allocations: 16.25 kB / 398.1 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001328/0.2935, allocations: 15.92 kB / 398.1 MB, free: 7.777 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.2937, allocations: 72.02 kB / 398.2 MB, free: 7.738 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.2938, allocations: 17.28 kB / 398.2 MB, free: 7.734 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.2e-05/0.2938, allocations: 25.52 kB / 398.2 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.134e-05/0.2939, allocations: 28.81 kB / 398.2 MB, free: 7.707 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.2939, allocations: 5.531 kB / 398.2 MB, free: 7.707 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.538e-05/0.2939, allocations: 4.781 kB / 398.2 MB, free: 7.707 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.935e-05/0.294, allocations: 19.92 kB / 398.3 MB, free: 7.691 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.23e-05/0.294, allocations: 27.89 kB / 398.3 MB, free: 7.676 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.2941, allocations: 64.94 kB / 398.3 MB, free: 7.652 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2941, allocations: 0 / 398.3 MB, free: 7.652 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2941, allocations: 1.156 kB / 398.4 MB, free: 7.652 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.2941, allocations: 0 / 398.4 MB, free: 7.652 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.0003874/0.2945, allocations: 293.8 kB / 398.6 MB, free: 7.363 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.2946, allocations: 12.95 kB / 398.6 MB, free: 7.359 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.439e-05/0.2946, allocations: 38.97 kB / 398.7 MB, free: 7.316 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.2946, allocations: 5.469 kB / 398.7 MB, free: 7.316 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.2948, allocations: 127.7 kB / 398.8 MB, free: 7.176 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.2948, allocations: 7.562 kB / 398.8 MB, free: 7.172 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.2948, allocations: 9.625 kB / 398.8 MB, free: 7.168 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.295, allocations: 68.55 kB / 398.9 MB, free: 7.121 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.295, allocations: 5.406 kB / 398.9 MB, free: 7.117 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.295, allocations: 4.75 kB / 398.9 MB, free: 7.113 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.295, allocations: 2.781 kB / 398.9 MB, free: 7.113 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.812e-05/0.2951, allocations: 36.94 kB / 399 MB, free: 7.102 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005511/0.2957, allocations: 343 kB / 399.3 MB, free: 6.793 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.483e-05/0.2958, allocations: 56.55 kB / 399.3 MB, free: 6.754 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.457e-05/0.2958, allocations: 25.81 kB / 399.4 MB, free: 6.734 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.2958, allocations: 5.125 kB / 399.4 MB, free: 6.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.2958, allocations: 31.94 kB / 399.4 MB, free: 6.691 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.2958, allocations: 0 / 399.4 MB, free: 6.691 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.000658/0.2965, allocations: 361.6 kB / 399.8 MB, free: 6.387 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.2965, allocations: 52.53 kB / 399.8 MB, free: 6.324 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.498e-05/0.2966, allocations: 125.2 kB / 399.9 MB, free: 6.211 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.2966, allocations: 29.7 kB / 400 MB, free: 6.176 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.499e-05/0.2966, allocations: 97.25 kB / 400.1 MB, free: 6.082 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.2966, allocations: 42.94 kB / 400.1 MB, free: 6.047 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.2967, allocations: 23.34 kB / 400.1 MB, free: 6.027 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.689e-05/0.2967, allocations: 319.5 kB / 400.4 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.568e-05/0.2968, allocations: 20.28 kB / 400.4 MB, free: 5.703 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.428e-05/0.2968, allocations: 63.02 kB / 400.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.079e-05/0.2969, allocations: 87.16 kB / 400.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.2969, allocations: 3.938 kB / 400.6 MB, free: 5.562 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001491/0.2971, allocations: 114.6 kB / 400.7 MB, free: 5.496 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.2971, allocations: 5.688 kB / 400.7 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2971, allocations: 2.344 kB / 400.7 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.2971, allocations: 2.312 kB / 400.7 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.788e-05/0.2972, allocations: 26.06 kB / 400.7 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.2972, allocations: 5.938 kB / 400.8 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.794e-05/0.2972, allocations: 2.234 kB / 400.8 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.2972, allocations: 9.031 kB / 400.8 MB, free: 5.484 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 5.667e-05/0.2973, allocations: 118 kB / 400.9 MB, free: 5.363 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.2973, allocations: 8.891 kB / 400.9 MB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.768e-05/0.2974, allocations: 14.81 kB / 400.9 MB, free: 5.348 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.2974, allocations: 1.125 kB / 400.9 MB, free: 5.348 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2974, allocations: 7.875 kB / 400.9 MB, free: 5.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2974, allocations: 2.625 kB / 400.9 MB, free: 5.34 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/0.2978, allocations: 377.7 kB / 401.3 MB, free: 4.988 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.2978, allocations: 1.156 kB / 401.3 MB, free: 4.988 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.799e-05/0.2979, allocations: 22.06 kB / 401.3 MB, free: 4.984 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.2979, allocations: 3.062 kB / 401.3 MB, free: 4.984 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.2979, allocations: 2.344 kB / 401.3 MB, free: 4.984 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.2979, allocations: 6.156 kB / 401.3 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.2979, allocations: 1.906 kB / 401.3 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.2981, allocations: 235.9 kB / 401.5 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.588e-05/0.2981, allocations: 7.172 kB / 401.6 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.2981, allocations: 3.859 kB / 401.6 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.872e-05/0.2982, allocations: 5.734 kB / 401.6 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/0.2982, allocations: 11.14 kB / 401.6 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.2982, allocations: 8.281 kB / 401.6 MB, free: 4.754 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.906e-05/0.2983, allocations: 91.33 kB / 401.7 MB, free: 4.676 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2983, allocations: 0 / 401.7 MB, free: 4.676 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002823/0.2985, allocations: 17.34 kB / 401.7 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.0003564/0.2989, allocations: 0.7614 MB / 402.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001378/0.299, allocations: 66.45 kB / 402.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.299, allocations: 5.5 kB / 402.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.487e-05/0.2991, allocations: 24.77 kB / 402.5 MB, free: 3.895 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.2994, allocations: 21.48 kB / 402.6 MB, free: 3.883 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.3007, allocations: 1.661 MB / 404.2 MB, free: 2.336 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.3008, allocations: 0.692 MB / 404.9 MB, free: 1.641 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.723e-05/0.3009, allocations: 10.45 kB / 404.9 MB, free: 1.637 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.307e-05/0.3009, allocations: 22.05 kB / 405 MB, free: 1.621 MB / 318.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3009, allocations: 3.938 kB / 405 MB, free: 1.617 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03318/0.3341, allocations: 2.074 MB / 407 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.54, allocations: 9.125 kB / 407 MB, free: 0.9766 MB / 318.1 MB " [Timeout remaining time 648] (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: 13.840399427805096]