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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001433/0.001433, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0017/0.0017, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 59.91 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2445, allocations: 50.54 MB / 408.7 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.00258/0.2471, allocations: 1.647 MB / 410.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002405/0.2474, allocations: 67.78 kB / 410.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.233e-05/0.2475, allocations: 3.938 kB / 410.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.396e-05/0.2476, allocations: 7.922 kB / 410.5 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.818e-05/0.2476, allocations: 15.86 kB / 410.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001139/0.2478, allocations: 23.95 kB / 410.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.2479, allocations: 67.56 kB / 410.6 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.248, allocations: 19.98 kB / 410.6 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.573e-05/0.248, allocations: 23.94 kB / 410.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.818e-05/0.2481, allocations: 19.92 kB / 410.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.2481, allocations: 11.92 kB / 410.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.251e-05/0.2481, allocations: 4 kB / 410.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.82e-05/0.2482, allocations: 15.98 kB / 410.7 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.396e-05/0.2482, allocations: 23.88 kB / 410.7 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.2483, allocations: 77.41 kB / 410.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2483, allocations: 0 / 410.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2483, allocations: 0 / 410.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.2484, allocations: 0 / 410.8 MB, free: 15.55 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.0004063/0.2488, allocations: 367.2 kB / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.2488, allocations: 12.03 kB / 411.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.272e-05/0.2488, allocations: 34.75 kB / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.365e-05/0.2489, allocations: 4.938 kB / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.2491, allocations: 184.3 kB / 411.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.2491, allocations: 4.375 kB / 411.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.2491, allocations: 4.375 kB / 411.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.2492, allocations: 78.11 kB / 411.4 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.2493, allocations: 11.88 kB / 411.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.2493, allocations: 7.938 kB / 411.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.2493, allocations: 0 / 411.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.657e-05/0.2494, allocations: 39.97 kB / 411.5 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005538/0.2499, allocations: 387.5 kB / 411.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.25, allocations: 58.55 kB / 411.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.138e-05/0.2501, allocations: 20.86 kB / 411.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-06/0.2501, allocations: 0 / 411.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.2501, allocations: 30.56 kB / 412 MB, free: 14.15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.2501, allocations: 0 / 412 MB, free: 14.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006461/0.2508, allocations: 0.5056 MB / 412.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.2508, allocations: 51.41 kB / 412.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.232e-05/0.2509, allocations: 129.8 kB / 412.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.2509, allocations: 25.7 kB / 412.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.477e-05/0.251, allocations: 100.2 kB / 412.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.251, allocations: 35.55 kB / 412.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.251, allocations: 25.72 kB / 412.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.785e-05/0.2511, allocations: 318.8 kB / 413.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.555e-05/0.2512, allocations: 20 kB / 413.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.575e-05/0.2513, allocations: 53.14 kB / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.2514, allocations: 89.08 kB / 413.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2514, allocations: 0 / 413.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001444/0.2515, allocations: 109.5 kB / 413.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.2515, allocations: 11.44 kB / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2515, allocations: 0 / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.2516, allocations: 0 / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.407e-05/0.2517, allocations: 32.02 kB / 413.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.2517, allocations: 8.172 kB / 413.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.655e-05/0.2517, allocations: 3.938 kB / 413.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.2517, allocations: 8 kB / 413.5 MB, free: 12.47 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 7.114e-05/0.2518, allocations: 125.7 kB / 413.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.2518, allocations: 7.906 kB / 413.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.735e-05/0.2519, allocations: 8.375 kB / 413.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2519, allocations: 4 kB / 413.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2519, allocations: 3.938 kB / 413.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.2519, allocations: 4 kB / 413.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004205/0.2523, allocations: 418.6 kB / 414 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2523, allocations: 0 / 414 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.204e-05/0.2524, allocations: 23.92 kB / 414.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2524, allocations: 160 / 414.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.2525, allocations: 8 kB / 414.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.2525, allocations: 7.984 kB / 414.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2525, allocations: 0 / 414.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.2527, allocations: 235.6 kB / 414.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.357e-05/0.2527, allocations: 85.02 kB / 414.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.2527, allocations: 4 kB / 414.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-05/0.2528, allocations: 4 kB / 414.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.19e-05/0.2528, allocations: 15.92 kB / 414.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.2529, allocations: 4 kB / 414.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.628e-05/0.2529, allocations: 91.27 kB / 414.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2529, allocations: 0 / 414.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002479/0.2532, allocations: 20.06 kB / 414.5 MB, free: 11.29 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.00043/0.2536, allocations: 0.76 MB / 415.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001294/0.2537, allocations: 63.84 kB / 415.4 MB, free: 10.42 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2537, allocations: 0 / 415.4 MB, free: 10.42 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.545e-05/0.2538, allocations: 23.94 kB / 415.4 MB, free: 10.4 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.2541, allocations: 12.55 kB / 415.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.2556, allocations: 1.669 MB / 417.1 MB, free: 8.574 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.2558, allocations: 0.6924 MB / 417.7 MB, free: 7.855 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.67e-05/0.2559, allocations: 8.422 kB / 417.8 MB, free: 7.848 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.547e-05/0.2559, allocations: 19.44 kB / 417.8 MB, free: 7.828 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2559, allocations: 3.938 kB / 417.8 MB, free: 7.824 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01891/0.2748, allocations: 1.918 MB / 419.7 MB, free: 6 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.936/8.211, allocations: 14.92 kB / 419.7 MB, free: 5.988 MB / 334.1 MB (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 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches