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.001239/0.001239, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001278/0.001278, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 59.89 kB / 358.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.241, allocations: 50.54 MB / 408.8 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002743/0.2438, allocations: 1.661 MB / 410.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002448/0.2441, allocations: 71.72 kB / 410.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.635e-05/0.2442, allocations: 4 kB / 410.5 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.2443, allocations: 7.922 kB / 410.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.148e-05/0.2443, allocations: 15.86 kB / 410.6 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001271/0.2445, allocations: 23.89 kB / 410.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.2446, allocations: 63.73 kB / 410.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.2447, allocations: 15.98 kB / 410.7 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.64e-05/0.2448, allocations: 19.94 kB / 410.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.711e-05/0.2449, allocations: 31.86 kB / 410.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.2449, allocations: 8 kB / 410.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.779e-05/0.2449, allocations: 7.938 kB / 410.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.2449, allocations: 11.97 kB / 410.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.491e-05/0.245, allocations: 31.88 kB / 410.8 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.2451, allocations: 62.73 kB / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2451, allocations: 0 / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2451, allocations: 0 / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.2452, allocations: 4 kB / 410.8 MB, free: 15.45 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.0004558/0.2456, allocations: 367.2 kB / 411.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2457, allocations: 8.031 kB / 411.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.757e-05/0.2457, allocations: 38.75 kB / 411.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.707e-05/0.2457, allocations: 8.891 kB / 411.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.246, allocations: 180.3 kB / 411.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.246, allocations: 12.31 kB / 411.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.246, allocations: 8.312 kB / 411.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.2462, allocations: 70.23 kB / 411.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.2462, allocations: 3.938 kB / 411.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.2462, allocations: 0 / 411.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.2462, allocations: 8 kB / 411.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.987e-05/0.2463, allocations: 35.97 kB / 411.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006167/0.2469, allocations: 379.6 kB / 411.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.247, allocations: 58.55 kB / 412 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.264e-05/0.2471, allocations: 16.86 kB / 412 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.2471, allocations: 4 kB / 412 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.2471, allocations: 38.56 kB / 412 MB, free: 14.05 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.2471, allocations: 0 / 412 MB, free: 14.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007333/0.2479, allocations: 0.513 MB / 412.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.2479, allocations: 55.34 kB / 412.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.2481, allocations: 121.8 kB / 412.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.2481, allocations: 29.7 kB / 412.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.048e-05/0.2481, allocations: 92.23 kB / 412.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.2482, allocations: 39.67 kB / 412.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.2482, allocations: 25.72 kB / 412.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.2484, allocations: 322.8 kB / 413.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.374e-05/0.2484, allocations: 12 kB / 413.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.97e-05/0.2485, allocations: 72.64 kB / 413.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.2486, allocations: 89.06 kB / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.2486, allocations: 0 / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001632/0.2488, allocations: 109.5 kB / 413.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.2488, allocations: 7.938 kB / 413.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2488, allocations: 0 / 413.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.2488, allocations: 4 kB / 413.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.555e-05/0.2489, allocations: 27.98 kB / 413.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.2489, allocations: 3.938 kB / 413.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.824e-05/0.249, allocations: 4 kB / 413.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.249, allocations: 4 kB / 413.6 MB, free: 12.36 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.157e-05/0.2491, allocations: 129.9 kB / 413.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.2491, allocations: 7.953 kB / 413.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.233e-05/0.2492, allocations: 8.375 kB / 413.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2492, allocations: 4.406 kB / 413.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2492, allocations: 3.938 kB / 413.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.2492, allocations: 4 kB / 413.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/0.2497, allocations: 406.6 kB / 414.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.2497, allocations: 4 kB / 414.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.009e-05/0.2498, allocations: 27.86 kB / 414.1 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.2498, allocations: 4 kB / 414.1 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.2498, allocations: 4 kB / 414.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2498, allocations: 0 / 414.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.2498, allocations: 4 kB / 414.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.2501, allocations: 227.8 kB / 414.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.2501, allocations: 89.09 kB / 414.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.2502, allocations: 4 kB / 414.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.527e-05/0.2502, allocations: 0 / 414.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.2503, allocations: 16.17 kB / 414.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.2503, allocations: 8 kB / 414.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.852e-05/0.2503, allocations: 91.27 kB / 414.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2503, allocations: 0 / 414.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.2506, allocations: 16 kB / 414.6 MB, free: 11.19 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.0005391/0.2511, allocations: 0.7673 MB / 415.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001346/0.2513, allocations: 59.91 kB / 415.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2513, allocations: 256 / 415.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.421e-05/0.2513, allocations: 32.34 kB / 415.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.2517, allocations: 15.98 kB / 415.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.2533, allocations: 1.665 MB / 417.1 MB, free: 8.465 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.2536, allocations: 0.6962 MB / 417.8 MB, free: 7.742 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.61e-05/0.2537, allocations: 12.42 kB / 417.8 MB, free: 7.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.2537, allocations: 19.44 kB / 417.9 MB, free: 7.711 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2537, allocations: 0 / 417.9 MB, free: 7.711 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.2769, allocations: 1.906 MB / 419.8 MB, free: 5.895 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.577/7.854, allocations: 13.61 kB / 419.8 MB, free: 5.887 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.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) Reference file matches