Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 108.6 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 196.8 kB / 24.5 MB, free: 4.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 225.7 MB / 253.3 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 47.92 kB / 371.2 MB, free: 9.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2191, allocations: 52.19 MB / 423.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002887/0.2219, allocations: 1.663 MB / 425.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002231/0.2222, allocations: 71.7 kB / 425.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.354e-05/0.2222, allocations: 4 kB / 425.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.36e-05/0.2223, allocations: 7.922 kB / 425.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.6e-05/0.2224, allocations: 11.88 kB / 425.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001223/0.2225, allocations: 23.89 kB / 425.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.2226, allocations: 59.8 kB / 425.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.2227, allocations: 15.92 kB / 425.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.318e-05/0.2228, allocations: 27.88 kB / 425.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.564e-05/0.2229, allocations: 35.89 kB / 425.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.2229, allocations: 4 kB / 425.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.5e-05/0.2229, allocations: 4 kB / 425.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/0.2229, allocations: 11.94 kB / 425.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.199e-05/0.223, allocations: 27.88 kB / 425.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.2231, allocations: 71.23 kB / 425.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2231, allocations: 0 / 425.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2231, allocations: 0 / 425.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.2231, allocations: 0 / 425.4 MB, free: 12.59 MB / 334.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.0004555/0.2236, allocations: 291.4 kB / 425.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.2236, allocations: 12.03 kB / 425.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.85e-05/0.2236, allocations: 192 / 425.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.211e-05/0.2237, allocations: 38.75 kB / 425.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.015e-05/0.2237, allocations: 8.891 kB / 425.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.2239, allocations: 122.4 kB / 425.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.2239, allocations: 8.375 kB / 425.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.2239, allocations: 8.312 kB / 425.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.2241, allocations: 81.5 kB / 426 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.2241, allocations: 3.953 kB / 426 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.2241, allocations: 0 / 426 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2241, allocations: 4 kB / 426 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.987e-05/0.2242, allocations: 39.97 kB / 426 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006079/0.2248, allocations: 346.6 kB / 426.4 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.2249, allocations: 58.56 kB / 426.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.362e-05/0.2249, allocations: 16.86 kB / 426.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/0.2249, allocations: 0 / 426.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.225, allocations: 38.5 kB / 426.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.225, allocations: 0 / 426.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006598/0.2256, allocations: 375.2 kB / 426.9 MB, free: 10.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.2257, allocations: 59.34 kB / 426.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.946e-05/0.2258, allocations: 117.8 kB / 427 MB, free: 10.78 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.2258, allocations: 25.7 kB / 427.1 MB, free: 10.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.2259, allocations: 92.09 kB / 427.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.2259, allocations: 39.69 kB / 427.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.2259, allocations: 21.72 kB / 427.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.2261, allocations: 318.8 kB / 427.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.969e-05/0.2261, allocations: 24 kB / 427.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.668e-05/0.2262, allocations: 57.14 kB / 427.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.2263, allocations: 93.02 kB / 427.7 MB, free: 10.06 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.2263, allocations: 480 / 427.7 MB, free: 10.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001638/0.2264, allocations: 109.5 kB / 427.8 MB, free: 9.949 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.2265, allocations: 8 kB / 427.8 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2265, allocations: 0 / 427.8 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.2265, allocations: 4 kB / 427.8 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.403e-05/0.2266, allocations: 27.86 kB / 427.8 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.2266, allocations: 4 kB / 427.8 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.74e-05/0.2266, allocations: 0 / 427.8 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.2266, allocations: 8.094 kB / 427.8 MB, free: 9.898 MB / 334.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 9.519e-05/0.2267, allocations: 129.7 kB / 428 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.2267, allocations: 4 kB / 428 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/0.2268, allocations: 12.38 kB / 428 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2268, allocations: 3.938 kB / 428 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2268, allocations: 0 / 428 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2268, allocations: 144 / 428 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000494/0.2273, allocations: 389.6 kB / 428.4 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2273, allocations: 0 / 428.4 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.335e-05/0.2274, allocations: 16 kB / 428.4 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.2274, allocations: 7.938 kB / 428.4 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.2274, allocations: 3.984 kB / 428.4 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.2274, allocations: 4 kB / 428.4 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2274, allocations: 160 / 428.4 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.2276, allocations: 239.6 kB / 428.6 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.2276, allocations: 7.984 kB / 428.6 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.2277, allocations: 8.062 kB / 428.7 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.435e-05/0.2277, allocations: 0 / 428.7 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.2277, allocations: 11.98 kB / 428.7 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.2277, allocations: 4 kB / 428.7 MB, free: 8.961 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.978e-05/0.2278, allocations: 91.27 kB / 428.8 MB, free: 8.871 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2278, allocations: 0 / 428.8 MB, free: 8.871 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.228, allocations: 19.94 kB / 428.8 MB, free: 8.852 MB / 334.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.0004938/0.2285, allocations: 0.7715 MB / 429.5 MB, free: 8.039 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001246/0.2287, allocations: 63.97 kB / 429.6 MB, free: 7.977 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2287, allocations: 3.938 kB / 429.6 MB, free: 7.973 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.774e-05/0.2287, allocations: 23.94 kB / 429.6 MB, free: 7.949 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.229, allocations: 15.98 kB / 429.7 MB, free: 7.934 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.2312, allocations: 1.653 MB / 431.3 MB, free: 6.141 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.2316, allocations: 0.7 MB / 432 MB, free: 5.414 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.105e-05/0.2316, allocations: 8.422 kB / 432 MB, free: 5.406 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.784e-05/0.2317, allocations: 19.44 kB / 432 MB, free: 5.387 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2317, allocations: 0 / 432 MB, free: 5.387 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02904/0.2607, allocations: 2.112 MB / 434.1 MB, free: 3.418 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/10.61, allocations: 7.812 kB / 434.2 MB, free: 3.414 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 12.854662241006736]