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.001698/0.001698, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.0021/0.0021, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.391/1.391, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.001758/0.001758, allocations: 59.91 kB / 378.5 MB, free: 3.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2452, allocations: 53.41 MB / 432 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003263/0.2484, allocations: 1.675 MB / 433.6 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002809/0.2487, allocations: 63.78 kB / 433.7 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.307e-05/0.2488, allocations: 4 kB / 433.7 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.2489, allocations: 7.875 kB / 433.7 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.07e-05/0.249, allocations: 19.84 kB / 433.7 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001354/0.2491, allocations: 19.97 kB / 433.7 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.2492, allocations: 71.66 kB / 433.8 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.2493, allocations: 8 kB / 433.8 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.616e-05/0.2494, allocations: 27.92 kB / 433.8 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.869e-05/0.2495, allocations: 23.86 kB / 433.9 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.2495, allocations: 11.98 kB / 433.9 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.379e-05/0.2495, allocations: 4 kB / 433.9 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.2495, allocations: 8 kB / 433.9 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.456e-05/0.2496, allocations: 31.86 kB / 433.9 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.2497, allocations: 64.14 kB / 434 MB, free: 4.703 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2497, allocations: 4 kB / 434 MB, free: 4.699 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2497, allocations: 4 kB / 434 MB, free: 4.695 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.2497, allocations: 0 / 434 MB, free: 4.695 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.0004733/0.2502, allocations: 286.1 kB / 434.3 MB, free: 4.383 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.2503, allocations: 12.03 kB / 434.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.85e-05/0.2503, allocations: 4.188 kB / 434.3 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.775e-05/0.2503, allocations: 38.75 kB / 434.3 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.2503, allocations: 12.88 kB / 434.3 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.2506, allocations: 122.4 kB / 434.5 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.2506, allocations: 8.359 kB / 434.5 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.2506, allocations: 8.375 kB / 434.5 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.2508, allocations: 77.86 kB / 434.6 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.2508, allocations: 0 / 434.6 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.2508, allocations: 7.938 kB / 434.6 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.2508, allocations: 4 kB / 434.6 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.162e-05/0.2509, allocations: 27.98 kB / 434.6 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006406/0.2515, allocations: 350.7 kB / 434.9 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.2516, allocations: 62.48 kB / 435 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.725e-05/0.2517, allocations: 20.84 kB / 435 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.2517, allocations: 0 / 435 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.2517, allocations: 30.56 kB / 435 MB, free: 3.504 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.2517, allocations: 0 / 435 MB, free: 3.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.000694/0.2524, allocations: 376 kB / 435.4 MB, free: 3.082 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.2524, allocations: 59.34 kB / 435.5 MB, free: 3.012 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.2525, allocations: 113.8 kB / 435.6 MB, free: 2.891 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.2526, allocations: 33.64 kB / 435.6 MB, free: 2.852 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.2526, allocations: 92.09 kB / 435.7 MB, free: 2.758 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.2526, allocations: 35.69 kB / 435.7 MB, free: 2.723 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.2527, allocations: 33.7 kB / 435.8 MB, free: 2.684 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.2528, allocations: 310.8 kB / 436.1 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.086e-05/0.2529, allocations: 27.98 kB / 436.1 MB, free: 2.344 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.587e-05/0.2529, allocations: 53.14 kB / 436.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.253, allocations: 89.08 kB / 436.2 MB, free: 2.168 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.253, allocations: 0 / 436.2 MB, free: 2.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001612/0.2532, allocations: 109.5 kB / 436.3 MB, free: 2.055 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.2532, allocations: 8 kB / 436.4 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2532, allocations: 480 / 436.4 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.2532, allocations: 4 kB / 436.4 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.468e-05/0.2533, allocations: 31.95 kB / 436.4 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2533, allocations: 4 kB / 436.4 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.858e-05/0.2534, allocations: 4 kB / 436.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.2534, allocations: 7.938 kB / 436.4 MB, free: 1.996 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.896e-05/0.2535, allocations: 117.8 kB / 436.5 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.2535, allocations: 7.953 kB / 436.5 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.2535, allocations: 12.38 kB / 436.5 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.2535, allocations: 3.938 kB / 436.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2535, allocations: 3.938 kB / 436.5 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2535, allocations: 7.984 kB / 436.6 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004848/0.254, allocations: 381.8 kB / 436.9 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.254, allocations: 0 / 436.9 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.952e-05/0.2541, allocations: 23.92 kB / 437 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.2541, allocations: 4 kB / 437 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.2541, allocations: 8.156 kB / 437 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.2541, allocations: 4 kB / 437 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2541, allocations: 0 / 437 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.2544, allocations: 231.7 kB / 437.2 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.516e-05/0.2544, allocations: 7.984 kB / 437.2 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.2544, allocations: 7.984 kB / 437.2 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.626e-05/0.2545, allocations: 4 kB / 437.2 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.613e-05/0.2545, allocations: 7.938 kB / 437.2 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.2545, allocations: 4 kB / 437.2 MB, free: 1.062 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.873e-05/0.2546, allocations: 91.27 kB / 437.3 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2546, allocations: 0 / 437.3 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.2548, allocations: 24 kB / 437.3 MB, free: 0.9492 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.0005074/0.2553, allocations: 0.7639 MB / 438.1 MB, free: 148 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.2554, allocations: 63.8 kB / 438.2 MB, free: 84 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2554, allocations: 0 / 438.2 MB, free: 84 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.79e-05/0.2555, allocations: 31.92 kB / 438.2 MB, free: 52 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.2558, allocations: 12 kB / 438.2 MB, free: 40 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.2576, allocations: 1.67 MB / 439.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.258, allocations: 0.6924 MB / 440.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.681e-05/0.258, allocations: 16.3 kB / 440.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.477e-05/0.2581, allocations: 19.44 kB / 440.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2581, allocations: 0 / 440.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/0.2803, allocations: 2.111 MB / 442.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.92, allocations: 0 / 442.7 MB, free: 11.49 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.22594819200458]