Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.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.WhyArrows,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001409/0.001409, allocations: 118.4 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001649/0.001649, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 59.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2474, allocations: 50.55 MB / 408.7 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003202/0.2506, allocations: 2.265 MB / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004626/0.2511, allocations: 191.3 kB / 411.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.2512, allocations: 7.938 kB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.336e-05/0.2514, allocations: 35.64 kB / 411.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001671/0.2515, allocations: 59.42 kB / 411.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.2517, allocations: 55.94 kB / 411.4 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002364/0.2519, allocations: 234.9 kB / 411.6 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.2521, allocations: 114.5 kB / 411.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.2523, allocations: 91.7 kB / 411.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.2524, allocations: 103.5 kB / 411.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.572e-05/0.2525, allocations: 20 kB / 411.9 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.541e-05/0.2525, allocations: 24 kB / 411.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.296e-05/0.2526, allocations: 47.83 kB / 412 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.303e-05/0.2527, allocations: 111.5 kB / 412.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.2529, allocations: 252.8 kB / 412.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2529, allocations: 0 / 412.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2529, allocations: 4 kB / 412.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.2529, allocations: 0 / 412.3 MB, free: 13.91 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006759/0.2536, allocations: 0.507 MB / 412.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.2537, allocations: 12.03 kB / 412.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.961e-05/0.2537, allocations: 58.73 kB / 412.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.2538, allocations: 28.59 kB / 412.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.254, allocations: 216.1 kB / 413.1 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.254, allocations: 16.94 kB / 413.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.771e-05/0.2541, allocations: 20.38 kB / 413.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.2544, allocations: 240.8 kB / 413.4 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.2544, allocations: 7.938 kB / 413.4 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.2545, allocations: 12 kB / 413.4 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.2545, allocations: 8 kB / 413.4 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002343/0.2547, allocations: 127.9 kB / 413.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.2557, allocations: 0.8597 MB / 414.4 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.256, allocations: 159.7 kB / 414.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.651e-05/0.2561, allocations: 62.5 kB / 414.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.2561, allocations: 11.94 kB / 414.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.2561, allocations: 38.81 kB / 414.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.422e-06/0.2561, allocations: 0 / 414.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.000349/0.2565, allocations: 165.6 kB / 414.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.2565, allocations: 110.8 kB / 415 MB, free: 11.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.2567, allocations: 199.1 kB / 415.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.2567, allocations: 33.7 kB / 415.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.467e-05/0.2568, allocations: 163.7 kB / 415.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.628e-05/0.2569, allocations: 63.09 kB / 415.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.014e-05/0.257, allocations: 46 kB / 415.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.729e-05/0.2571, allocations: 330.8 kB / 415.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.109e-05/0.2571, allocations: 44.55 kB / 415.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.2573, allocations: 155.7 kB / 416 MB, free: 9.922 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.2575, allocations: 222.1 kB / 416.2 MB, free: 9.656 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2575, allocations: 0 / 416.2 MB, free: 9.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00034/0.2579, allocations: 253.2 kB / 416.4 MB, free: 9.402 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.2579, allocations: 7.984 kB / 416.5 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.2579, allocations: 7.984 kB / 416.5 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.2579, allocations: 8 kB / 416.5 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.2582, allocations: 59.92 kB / 416.5 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.2582, allocations: 7.938 kB / 416.5 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.2583, allocations: 27.69 kB / 416.6 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.2583, allocations: 15.98 kB / 416.6 MB, free: 9.27 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (33): * Single equations (assignments): 33 * 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 0.0001044/0.2584, allocations: 138 kB / 416.7 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-05/0.2585, allocations: 23.75 kB / 416.7 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.979e-05/0.2586, allocations: 21.41 kB / 416.8 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.2586, allocations: 0 / 416.8 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2586, allocations: 7.984 kB / 416.8 MB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2586, allocations: 0 / 416.8 MB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005112/0.2591, allocations: 428.8 kB / 417.2 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2592, allocations: 4 kB / 417.2 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.2594, allocations: 35.92 kB / 417.2 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.2594, allocations: 4 kB / 417.2 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.2594, allocations: 7.984 kB / 417.2 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.2594, allocations: 4 kB / 417.2 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2594, allocations: 0 / 417.2 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/0.2598, allocations: 385.1 kB / 417.6 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.336e-05/0.2598, allocations: 92.86 kB / 417.7 MB, free: 8.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.2599, allocations: 8 kB / 417.7 MB, free: 8.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.26, allocations: 4.031 kB / 417.7 MB, free: 8.008 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.553e-05/0.26, allocations: 19.88 kB / 417.7 MB, free: 7.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.26, allocations: 11.98 kB / 417.7 MB, free: 7.977 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.2601, allocations: 135.2 kB / 417.9 MB, free: 7.844 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2602, allocations: 0 / 417.9 MB, free: 7.844 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003529/0.2605, allocations: 51.91 kB / 417.9 MB, free: 7.793 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.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 (17): * Single equations (assignments): 17 * 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.0005529/0.2611, allocations: 0.9121 MB / 418.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002411/0.2613, allocations: 146 kB / 419 MB, free: 6.703 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2613, allocations: 0.875 kB / 419 MB, free: 6.703 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.135e-05/0.2614, allocations: 55.98 kB / 419 MB, free: 6.648 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004717/0.2619, allocations: 38.17 kB / 419.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.2644, allocations: 2.538 MB / 421.6 MB, free: 3.879 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.2646, allocations: 0.7359 MB / 422.4 MB, free: 3.117 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.322e-05/0.2647, allocations: 25.94 kB / 422.4 MB, free: 3.094 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.198e-05/0.2648, allocations: 51.42 kB / 422.4 MB, free: 3.043 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2648, allocations: 4 kB / 422.4 MB, free: 3.039 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02069/0.2855, allocations: 3.778 MB / 426.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.089/8.375, allocations: 20.92 kB / 426.2 MB, free: 15.35 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches