Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001692/0.001692, allocations: 112.2 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.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.002111/0.002111, allocations: 206.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.36/1.36, allocations: 230.6 MB / 258.3 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 51.92 kB / 378.6 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2237, allocations: 53.36 MB / 431.9 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002667/0.2264, allocations: 1.671 MB / 433.6 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002208/0.2266, allocations: 67.73 kB / 433.6 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.505e-05/0.2267, allocations: 0 / 433.6 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.366e-05/0.2268, allocations: 15.92 kB / 433.7 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.182e-05/0.2268, allocations: 19.78 kB / 433.7 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000107/0.2269, allocations: 15.98 kB / 433.7 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.227, allocations: 67.67 kB / 433.8 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.301e-05/0.2271, allocations: 15.97 kB / 433.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.289e-05/0.2272, allocations: 27.92 kB / 433.8 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.272e-05/0.2272, allocations: 23.86 kB / 433.8 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.2273, allocations: 4 kB / 433.8 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.215e-05/0.2273, allocations: 8 kB / 433.8 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/0.2273, allocations: 8 kB / 433.8 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.389e-05/0.2273, allocations: 35.86 kB / 433.9 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.2275, allocations: 69.39 kB / 434 MB, free: 4.801 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2275, allocations: 0 / 434 MB, free: 4.801 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2275, allocations: 0 / 434 MB, free: 4.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.2275, allocations: 4 kB / 434 MB, free: 4.797 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.000394/0.2279, allocations: 286.2 kB / 434.2 MB, free: 4.484 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.2279, allocations: 8.031 kB / 434.2 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.097e-05/0.2279, allocations: 4.188 kB / 434.2 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.204e-05/0.2279, allocations: 38.75 kB / 434.3 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.623e-05/0.228, allocations: 8.891 kB / 434.3 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.2281, allocations: 130.4 kB / 434.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.2282, allocations: 8.312 kB / 434.4 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.2282, allocations: 8.375 kB / 434.4 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.2283, allocations: 73.92 kB / 434.5 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2283, allocations: 0 / 434.5 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.2283, allocations: 4 kB / 434.5 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.2284, allocations: 0 / 434.5 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.755e-05/0.2284, allocations: 42.92 kB / 434.6 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005761/0.229, allocations: 350.7 kB / 434.9 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.2291, allocations: 54.56 kB / 434.9 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.433e-05/0.2291, allocations: 20.8 kB / 435 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.2292, allocations: 0 / 435 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.2292, allocations: 38.55 kB / 435 MB, free: 3.605 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.2292, allocations: 0 / 435 MB, free: 3.605 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006503/0.2298, allocations: 367.3 kB / 435.4 MB, free: 3.191 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.2299, allocations: 55.34 kB / 435.4 MB, free: 3.125 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.989e-05/0.23, allocations: 117.8 kB / 435.5 MB, free: 3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.23, allocations: 29.7 kB / 435.6 MB, free: 2.965 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.23, allocations: 100 kB / 435.7 MB, free: 2.863 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.2301, allocations: 31.73 kB / 435.7 MB, free: 2.832 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.2301, allocations: 25.72 kB / 435.7 MB, free: 2.801 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.2302, allocations: 318.8 kB / 436 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.691e-05/0.2303, allocations: 19.98 kB / 436 MB, free: 2.461 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.548e-05/0.2303, allocations: 57.14 kB / 436.1 MB, free: 2.387 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.2305, allocations: 89.02 kB / 436.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.2305, allocations: 0 / 436.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001621/0.2306, allocations: 114 kB / 436.3 MB, free: 2.164 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.2306, allocations: 8.094 kB / 436.3 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2306, allocations: 4 kB / 436.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.2306, allocations: 0 / 436.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.353e-05/0.2307, allocations: 23.94 kB / 436.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.2307, allocations: 15.86 kB / 436.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.181e-05/0.2308, allocations: 4 kB / 436.4 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.2308, allocations: 4 kB / 436.4 MB, free: 2.105 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.8e-05/0.2309, allocations: 113.8 kB / 436.5 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.2309, allocations: 7.953 kB / 436.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.232e-05/0.231, allocations: 20.31 kB / 436.5 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.231, allocations: 11.94 kB / 436.5 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.231, allocations: 0 / 436.5 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.231, allocations: 0 / 436.5 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005082/0.2315, allocations: 385.6 kB / 436.9 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2315, allocations: 4.156 kB / 436.9 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.88e-05/0.2316, allocations: 19.98 kB / 436.9 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2316, allocations: 0 / 436.9 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.2316, allocations: 8 kB / 436.9 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2316, allocations: 0 / 436.9 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2316, allocations: 7.938 kB / 436.9 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.2318, allocations: 231.7 kB / 437.2 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.489e-05/0.2318, allocations: 7.953 kB / 437.2 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.2319, allocations: 4 kB / 437.2 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.8e-05/0.2319, allocations: 4 kB / 437.2 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.2319, allocations: 7.984 kB / 437.2 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.232, allocations: 4.062 kB / 437.2 MB, free: 1.172 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.401e-05/0.232, allocations: 99.27 kB / 437.3 MB, free: 1.074 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.232, allocations: 0 / 437.3 MB, free: 1.074 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002429/0.2323, allocations: 15.94 kB / 437.3 MB, free: 1.059 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.0005371/0.2328, allocations: 0.7677 MB / 438.1 MB, free: 256 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001345/0.2329, allocations: 64.12 kB / 438.1 MB, free: 192 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2329, allocations: 0 / 438.1 MB, free: 192 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.756e-05/0.233, allocations: 28.62 kB / 438.2 MB, free: 164 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.2333, allocations: 20.14 kB / 438.2 MB, free: 144 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.2349, allocations: 1.668 MB / 439.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.2352, allocations: 0.6924 MB / 440.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.87e-05/0.2353, allocations: 12.42 kB / 440.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.388e-05/0.2353, allocations: 19.44 kB / 440.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2353, allocations: 0 / 440.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/0.2573, allocations: 2.104 MB / 442.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.74, allocations: 10.16 kB / 442.7 MB, free: 11.61 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 13.029011495993473]