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.001372/0.001372, allocations: 117.8 kB / 17.79 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001641/0.001641, allocations: 200.6 kB / 18.73 MB, free: 4.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 63.89 kB / 358.2 MB, free: 13.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2462, allocations: 50.56 MB / 408.7 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002816/0.2491, allocations: 1.644 MB / 410.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002762/0.2494, allocations: 67.7 kB / 410.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.775e-05/0.2495, allocations: 4 kB / 410.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.2496, allocations: 7.938 kB / 410.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.923e-05/0.2497, allocations: 15.84 kB / 410.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001399/0.2499, allocations: 19.92 kB / 410.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.25, allocations: 63.72 kB / 410.6 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.2501, allocations: 20 kB / 410.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.05e-05/0.2502, allocations: 27.91 kB / 410.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.945e-05/0.2503, allocations: 23.92 kB / 410.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.2503, allocations: 4 kB / 410.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.867e-05/0.2503, allocations: 11.94 kB / 410.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.2504, allocations: 7.938 kB / 410.7 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.642e-05/0.2504, allocations: 31.86 kB / 410.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.2506, allocations: 65.47 kB / 410.8 MB, free: 15.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2506, allocations: 0 / 410.8 MB, free: 15.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2506, allocations: 4 kB / 410.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.2506, allocations: 0 / 410.8 MB, free: 15.53 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.0005095/0.2511, allocations: 371.2 kB / 411.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.2512, allocations: 8.031 kB / 411.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.47e-05/0.2512, allocations: 38.75 kB / 411.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.2512, allocations: 4.938 kB / 411.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.2515, allocations: 188.2 kB / 411.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.2515, allocations: 4.375 kB / 411.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.2516, allocations: 16.31 kB / 411.4 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.2517, allocations: 70.17 kB / 411.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.2517, allocations: 3.938 kB / 411.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.2518, allocations: 4 kB / 411.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2518, allocations: 3.938 kB / 411.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.389e-05/0.2518, allocations: 31.98 kB / 411.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006761/0.2525, allocations: 387.5 kB / 411.9 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.2527, allocations: 58.56 kB / 411.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.499e-05/0.2527, allocations: 16.86 kB / 411.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.2527, allocations: 0 / 411.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.2528, allocations: 38.55 kB / 412 MB, free: 14.13 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.2528, allocations: 0 / 412 MB, free: 14.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007631/0.2535, allocations: 0.5136 MB / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.2536, allocations: 59.34 kB / 412.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.564e-05/0.2537, allocations: 121.9 kB / 412.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.2537, allocations: 25.7 kB / 412.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.57e-05/0.2538, allocations: 92.05 kB / 412.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.2538, allocations: 31.55 kB / 412.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/0.2539, allocations: 29.7 kB / 412.8 MB, free: 13.13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.254, allocations: 318.8 kB / 413.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.873e-05/0.254, allocations: 19.98 kB / 413.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.441e-05/0.2541, allocations: 61.11 kB / 413.2 MB, free: 12.72 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.2542, allocations: 85.08 kB / 413.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2542, allocations: 4 kB / 413.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001547/0.2544, allocations: 109.4 kB / 413.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.2544, allocations: 8 kB / 413.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2544, allocations: 7.875 kB / 413.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.2544, allocations: 4 kB / 413.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.506e-05/0.2545, allocations: 19.98 kB / 413.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.2545, allocations: 8.031 kB / 413.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.358e-05/0.2546, allocations: 8 kB / 413.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.2546, allocations: 8 kB / 413.5 MB, free: 12.44 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.431e-05/0.2547, allocations: 125.7 kB / 413.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.2547, allocations: 3.906 kB / 413.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.369e-05/0.2548, allocations: 12.38 kB / 413.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2548, allocations: 0 / 413.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.2548, allocations: 3.938 kB / 413.6 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.2548, allocations: 3.984 kB / 413.6 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004896/0.2553, allocations: 410.5 kB / 414 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2553, allocations: 3.938 kB / 414 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.221e-05/0.2554, allocations: 23.92 kB / 414.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.2554, allocations: 4 kB / 414.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.2554, allocations: 4 kB / 414.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.2554, allocations: 12.16 kB / 414.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2554, allocations: 0 / 414.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.2557, allocations: 227.6 kB / 414.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.941e-05/0.2558, allocations: 93.09 kB / 414.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.2558, allocations: 8.188 kB / 414.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.844e-05/0.2559, allocations: 0 / 414.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.081e-05/0.2559, allocations: 11.92 kB / 414.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.2559, allocations: 4 kB / 414.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.622e-05/0.256, allocations: 95.27 kB / 414.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.256, allocations: 0 / 414.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.2562, allocations: 16.38 kB / 414.5 MB, free: 11.26 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.0005271/0.2568, allocations: 0.7596 MB / 415.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001618/0.2569, allocations: 67.84 kB / 415.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2569, allocations: 0 / 415.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.147e-05/0.257, allocations: 27.92 kB / 415.4 MB, free: 10.37 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.2573, allocations: 15.94 kB / 415.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.259, allocations: 1.658 MB / 417.1 MB, free: 8.551 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.2593, allocations: 0.6924 MB / 417.7 MB, free: 7.832 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.32e-05/0.2593, allocations: 12.41 kB / 417.8 MB, free: 7.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.48e-05/0.2594, allocations: 19.44 kB / 417.8 MB, free: 7.801 MB / 334.1 MB Notification: Performance of SimCode: time 1.863e-06/0.2594, allocations: 0 / 417.8 MB, free: 7.801 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.2806, allocations: 1.936 MB / 419.7 MB, free: 5.965 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.43/7.71, allocations: 3.938 kB / 419.7 MB, free: 5.961 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