Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 109.7 kB / 17.06 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 200 kB / 18.01 MB, free: 4.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 51.92 kB / 350.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2517, allocations: 49.43 MB / 400.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003549/0.2553, allocations: 2.262 MB / 402.5 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005568/0.2559, allocations: 191.3 kB / 402.7 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.2561, allocations: 4 kB / 402.7 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.2563, allocations: 35.64 kB / 402.7 MB, free: 6.309 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002189/0.2565, allocations: 71.41 kB / 402.8 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.2567, allocations: 47.88 kB / 402.8 MB, free: 6.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003061/0.257, allocations: 235 kB / 403.1 MB, free: 5.961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002531/0.2573, allocations: 114.6 kB / 403.2 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.2575, allocations: 83.72 kB / 403.3 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.2576, allocations: 103.5 kB / 403.4 MB, free: 5.664 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.931e-05/0.2577, allocations: 24 kB / 403.4 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.575e-05/0.2578, allocations: 24 kB / 403.4 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.734e-05/0.2578, allocations: 47.84 kB / 403.4 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.2579, allocations: 115.4 kB / 403.6 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.2583, allocations: 258.1 kB / 403.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2583, allocations: 0 / 403.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2583, allocations: 0 / 403.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.2583, allocations: 0 / 403.8 MB, free: 5.207 MB / 318.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.0008213/0.2592, allocations: 0.5145 MB / 404.3 MB, free: 4.641 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.2592, allocations: 8.031 kB / 404.3 MB, free: 4.633 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.848e-05/0.2593, allocations: 58.73 kB / 404.4 MB, free: 4.566 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.871e-05/0.2593, allocations: 28.78 kB / 404.4 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.2596, allocations: 216.1 kB / 404.6 MB, free: 4.289 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.2596, allocations: 16.94 kB / 404.6 MB, free: 4.273 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.603e-05/0.2597, allocations: 24.38 kB / 404.7 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00039/0.2601, allocations: 232.9 kB / 404.9 MB, free: 4.008 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.2601, allocations: 3.938 kB / 404.9 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.2602, allocations: 12 kB / 404.9 MB, free: 3.992 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.2602, allocations: 4 kB / 404.9 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002561/0.2604, allocations: 139.8 kB / 405.1 MB, free: 3.852 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.2616, allocations: 0.8596 MB / 405.9 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.2619, allocations: 155.7 kB / 406.1 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.826e-05/0.262, allocations: 66.5 kB / 406.1 MB, free: 2.676 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.262, allocations: 0 / 406.1 MB, free: 2.676 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.262, allocations: 46.42 kB / 406.2 MB, free: 2.621 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 3.256e-06/0.262, allocations: 0 / 406.2 MB, free: 2.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003765/0.2624, allocations: 178.2 kB / 406.4 MB, free: 2.441 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.2625, allocations: 102.8 kB / 406.5 MB, free: 2.316 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.2627, allocations: 194.7 kB / 406.6 MB, free: 2.117 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.2627, allocations: 29.7 kB / 406.7 MB, free: 2.082 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.2628, allocations: 156.2 kB / 406.8 MB, free: 1.926 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.161e-05/0.2629, allocations: 75.34 kB / 406.9 MB, free: 1.852 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.044e-05/0.263, allocations: 57.94 kB / 407 MB, free: 1.785 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.2631, allocations: 330.8 kB / 407.3 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.332e-05/0.2632, allocations: 48.53 kB / 407.3 MB, free: 1.406 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.2634, allocations: 147.6 kB / 407.5 MB, free: 1.215 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/0.2637, allocations: 225.7 kB / 407.7 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.2637, allocations: 8 kB / 407.7 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000386/0.2641, allocations: 245.1 kB / 407.9 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.2641, allocations: 8 kB / 407.9 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.2642, allocations: 4 kB / 407.9 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.2642, allocations: 4.438 kB / 408 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.2644, allocations: 63.91 kB / 408 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.2644, allocations: 4 kB / 408 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.2646, allocations: 31.78 kB / 408 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.2646, allocations: 12 kB / 408.1 MB, free: 0.5664 MB / 318.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.0001249/0.2647, allocations: 141.7 kB / 408.2 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.561e-05/0.2648, allocations: 23.8 kB / 408.2 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.633e-05/0.2649, allocations: 25.39 kB / 408.2 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.2649, allocations: 8 kB / 408.3 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2649, allocations: 4 kB / 408.3 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2649, allocations: 0 / 408.3 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005688/0.2655, allocations: 428.8 kB / 408.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2655, allocations: 0 / 408.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.2657, allocations: 39.92 kB / 408.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.2657, allocations: 0 / 408.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.2657, allocations: 8 kB / 408.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.2657, allocations: 4.094 kB / 408.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.2657, allocations: 4 kB / 408.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004023/0.2662, allocations: 377.5 kB / 409.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.664e-05/0.2662, allocations: 105 kB / 409.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.2663, allocations: 4 kB / 409.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.2664, allocations: 11.94 kB / 409.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.521e-05/0.2664, allocations: 11.92 kB / 409.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.2665, allocations: 11.94 kB / 409.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001205/0.2666, allocations: 144.3 kB / 409.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2666, allocations: 0 / 409.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003615/0.267, allocations: 55.89 kB / 409.4 MB, free: 15.07 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.0006933/0.2677, allocations: 0.8977 MB / 410.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000297/0.268, allocations: 148.1 kB / 410.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.268, allocations: 0 / 410.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.188e-05/0.2681, allocations: 56.17 kB / 410.5 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004793/0.2686, allocations: 33.5 kB / 410.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/0.2715, allocations: 2.576 MB / 413.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.2718, allocations: 0.7359 MB / 413.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.445e-05/0.272, allocations: 17.95 kB / 413.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.566e-05/0.2721, allocations: 59.42 kB / 414 MB, free: 10.29 MB / 334.1 MB Notification: Performance of SimCode: time 7.71e-07/0.2721, allocations: 0 / 414 MB, free: 10.29 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02647/0.2985, allocations: 3.74 MB / 417.7 MB, free: 6.652 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.833/8.131, allocations: 8.047 kB / 417.7 MB, free: 6.645 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_WhyArrows_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches