Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001262/0.001262, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001586/0.001586, allocations: 212.7 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 230.5 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 63.89 kB / 378.5 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2385, allocations: 53.4 MB / 431.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002743/0.2413, allocations: 1.629 MB / 433.5 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002171/0.2415, allocations: 63.78 kB / 433.6 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.85e-05/0.2415, allocations: 4 kB / 433.6 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.105e-05/0.2416, allocations: 11.86 kB / 433.6 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.083e-05/0.2417, allocations: 15.84 kB / 433.6 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001106/0.2418, allocations: 19.98 kB / 433.6 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.2419, allocations: 67.67 kB / 433.7 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.242, allocations: 22.08 kB / 433.7 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.179e-05/0.2421, allocations: 19.94 kB / 433.7 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.941e-05/0.2421, allocations: 31.84 kB / 433.8 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.2421, allocations: 8 kB / 433.8 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.385e-05/0.2422, allocations: 4 kB / 433.8 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.675e-05/0.2422, allocations: 7.938 kB / 433.8 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.062e-05/0.2422, allocations: 27.86 kB / 433.8 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.2423, allocations: 63.72 kB / 433.9 MB, free: 4.473 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2423, allocations: 4 kB / 433.9 MB, free: 4.469 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2423, allocations: 4 kB / 433.9 MB, free: 4.465 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.647e-06/0.2424, allocations: 0 / 433.9 MB, free: 4.465 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.0004053/0.2428, allocations: 290.1 kB / 434.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.2428, allocations: 12.03 kB / 434.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.134e-05/0.2428, allocations: 192 / 434.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.697e-05/0.2428, allocations: 42.73 kB / 434.2 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.2429, allocations: 8.891 kB / 434.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.2431, allocations: 122.4 kB / 434.4 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.2431, allocations: 8.375 kB / 434.4 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.2431, allocations: 8.375 kB / 434.4 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.2432, allocations: 77.92 kB / 434.4 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.2433, allocations: 0 / 434.4 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.2433, allocations: 0 / 434.4 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.2433, allocations: 4 kB / 434.5 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.635e-05/0.2434, allocations: 43.2 kB / 434.5 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006229/0.244, allocations: 334.8 kB / 434.8 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.2441, allocations: 54.5 kB / 434.9 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.812e-05/0.2441, allocations: 20.84 kB / 434.9 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-06/0.2441, allocations: 0 / 434.9 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.2442, allocations: 42.5 kB / 434.9 MB, free: 3.281 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.2442, allocations: 0 / 434.9 MB, free: 3.281 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007073/0.2449, allocations: 367.3 kB / 435.3 MB, free: 2.867 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.2449, allocations: 55.34 kB / 435.3 MB, free: 2.801 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.245, allocations: 121.9 kB / 435.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.245, allocations: 29.7 kB / 435.5 MB, free: 2.637 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.272e-05/0.2451, allocations: 92.09 kB / 435.6 MB, free: 2.543 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.2451, allocations: 39.62 kB / 435.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/0.2452, allocations: 33.7 kB / 435.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.2453, allocations: 310.8 kB / 436 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.131e-05/0.2453, allocations: 23.98 kB / 436 MB, free: 2.129 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.337e-05/0.2454, allocations: 57.14 kB / 436 MB, free: 2.055 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.2455, allocations: 81.09 kB / 436.1 MB, free: 1.957 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2455, allocations: 3.984 kB / 436.1 MB, free: 1.953 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001699/0.2457, allocations: 113.5 kB / 436.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.2457, allocations: 10.75 kB / 436.2 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2457, allocations: 4 kB / 436.2 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.2457, allocations: 0 / 436.2 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.161e-05/0.2458, allocations: 31.86 kB / 436.3 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2458, allocations: 0 / 436.3 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.067e-05/0.2459, allocations: 4 kB / 436.3 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.2459, allocations: 8 kB / 436.3 MB, free: 1.781 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 8.711e-05/0.246, allocations: 113.8 kB / 436.4 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.246, allocations: 7.953 kB / 436.4 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.477e-05/0.246, allocations: 12.31 kB / 436.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.246, allocations: 7.938 kB / 436.4 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.246, allocations: 4 kB / 436.4 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.2461, allocations: 7.984 kB / 436.4 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004932/0.2465, allocations: 377.7 kB / 436.8 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2465, allocations: 0 / 436.8 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.108e-05/0.2466, allocations: 23.92 kB / 436.8 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2466, allocations: 0 / 436.8 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.2467, allocations: 4 kB / 436.8 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.2467, allocations: 4.156 kB / 436.8 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2467, allocations: 4 kB / 436.8 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.2469, allocations: 231.6 kB / 437.1 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.541e-05/0.2469, allocations: 11.98 kB / 437.1 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.2469, allocations: 4.469 kB / 437.1 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.896e-05/0.247, allocations: 4 kB / 437.1 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.649e-05/0.247, allocations: 11.98 kB / 437.1 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.247, allocations: 3.938 kB / 437.1 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.994e-05/0.2471, allocations: 99.2 kB / 437.2 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2471, allocations: 0 / 437.2 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.2473, allocations: 24 kB / 437.2 MB, free: 0.7305 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.0005238/0.2479, allocations: 0.7557 MB / 438 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001446/0.248, allocations: 59.8 kB / 438 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.248, allocations: 4 kB / 438 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.864e-05/0.2481, allocations: 23.94 kB / 438.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.2484, allocations: 17.34 kB / 438.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.2501, allocations: 1.67 MB / 439.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.395e-05/0.2502, allocations: 75.33 kB / 439.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.995e-05/0.2502, allocations: 12.42 kB / 439.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.969e-05/0.2503, allocations: 23.44 kB / 439.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of SimCode: time 8.71e-07/0.2503, allocations: 3.938 kB / 439.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.2743, allocations: 2.124 MB / 442 MB, free: 11.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.97, allocations: 9.297 kB / 442 MB, free: 11.88 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.24333916301839]