Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_3_2_3_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.001498/0.001498, allocations: 106.5 kB / 17.73 MB, free: 5.355 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.00169/0.00169, allocations: 191 kB / 18.66 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 55.92 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08259/0.08391, allocations: 46.62 MB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003312/0.08726, allocations: 2.243 MB / 376.9 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005088/0.08781, allocations: 203.2 kB / 377.1 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.08798, allocations: 4 kB / 377.1 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.08812, allocations: 35.64 kB / 377.1 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001956/0.08832, allocations: 67.41 kB / 377.2 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.08852, allocations: 55.88 kB / 377.2 MB, free: 2.477 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002507/0.08878, allocations: 231 kB / 377.5 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000225/0.08901, allocations: 122.5 kB / 377.6 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.08917, allocations: 87.72 kB / 377.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.08935, allocations: 103.5 kB / 377.8 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.657e-05/0.08939, allocations: 20 kB / 377.8 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.811e-05/0.08943, allocations: 20 kB / 377.8 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.848e-05/0.08949, allocations: 55.83 kB / 377.9 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.0896, allocations: 115.4 kB / 378 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.08986, allocations: 251.1 kB / 378.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.08987, allocations: 0 / 378.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.08988, allocations: 0 / 378.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.08989, allocations: 0 / 378.2 MB, free: 1.488 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.0007229/0.09062, allocations: 0.5148 MB / 378.7 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.09067, allocations: 8.031 kB / 378.7 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.256e-05/0.09073, allocations: 58.73 kB / 378.8 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.991e-05/0.09078, allocations: 24.73 kB / 378.8 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.09099, allocations: 216 kB / 379 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.09102, allocations: 16.94 kB / 379 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.09106, allocations: 24.38 kB / 379.1 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003411/0.09141, allocations: 232.8 kB / 379.3 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.09144, allocations: 3.938 kB / 379.3 MB, free: 296 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.09146, allocations: 12 kB / 379.3 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.09147, allocations: 8 kB / 379.3 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000222/0.0917, allocations: 139.7 kB / 379.5 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1624/0.2541, allocations: 0.8507 MB / 380.3 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.2544, allocations: 158.6 kB / 380.5 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.165e-05/0.2545, allocations: 64.02 kB / 380.5 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.2545, allocations: 2.75 kB / 380.5 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.2546, allocations: 38.33 kB / 380.6 MB, free: 12.28 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 2.976e-06/0.2546, allocations: 2.453 kB / 380.6 MB, free: 12.28 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003634/0.2549, allocations: 171.5 kB / 380.7 MB, free: 12.24 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.255, allocations: 108.4 kB / 380.8 MB, free: 12.11 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.2552, allocations: 201.6 kB / 381 MB, free: 12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.2552, allocations: 32.7 kB / 381.1 MB, free: 11.97 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.31e-05/0.2553, allocations: 158.6 kB / 381.2 MB, free: 11.86 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.2553, allocations: 66.84 kB / 381.3 MB, free: 11.81 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.983e-05/0.2554, allocations: 51.7 kB / 381.3 MB, free: 11.79 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.202e-05/0.2555, allocations: 327.8 kB / 381.7 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.571e-05/0.2556, allocations: 52.42 kB / 381.7 MB, free: 11.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.2557, allocations: 151.1 kB / 381.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.2559, allocations: 216.8 kB / 382.1 MB, free: 11.22 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.2559, allocations: 1.156 kB / 382.1 MB, free: 11.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003179/0.2562, allocations: 248.4 kB / 382.3 MB, free: 11.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.2563, allocations: 7.625 kB / 382.3 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.2563, allocations: 6.469 kB / 382.3 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.2563, allocations: 9.438 kB / 382.3 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.2565, allocations: 60.58 kB / 382.4 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.918e-05/0.2565, allocations: 6.422 kB / 382.4 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.2567, allocations: 30.91 kB / 382.4 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.2567, allocations: 13.78 kB / 382.4 MB, free: 11.13 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 9.542e-05/0.2568, allocations: 144.9 kB / 382.6 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.729e-05/0.2569, allocations: 19.03 kB / 382.6 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.532e-05/0.257, allocations: 25.17 kB / 382.6 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.257, allocations: 10.69 kB / 382.6 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.257, allocations: 3.609 kB / 382.6 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.257, allocations: 2.734 kB / 382.6 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000519/0.2575, allocations: 425.7 kB / 383.1 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.2576, allocations: 2 kB / 383.1 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.2578, allocations: 38.58 kB / 383.1 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.2578, allocations: 1.906 kB / 383.1 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.2578, allocations: 11.33 kB / 383.1 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.2578, allocations: 2.562 kB / 383.1 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.2578, allocations: 1.562 kB / 383.1 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003956/0.2582, allocations: 373.9 kB / 383.5 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/0.2583, allocations: 100.3 kB / 383.6 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/0.2583, allocations: 3.406 kB / 383.6 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.2585, allocations: 7.375 kB / 383.6 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.2585, allocations: 9.625 kB / 383.6 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.2585, allocations: 9.078 kB / 383.6 MB, free: 10.23 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.2587, allocations: 139.6 kB / 383.7 MB, free: 10.14 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.2587, allocations: 0.5312 kB / 383.7 MB, free: 10.14 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003835/0.2591, allocations: 60.84 kB / 383.8 MB, free: 10.12 MB / 318.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.0005092/0.2596, allocations: 0.9028 MB / 384.7 MB, free: 9.297 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002759/0.2599, allocations: 146.6 kB / 384.9 MB, free: 9.246 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2599, allocations: 0 / 384.9 MB, free: 9.246 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.103e-05/0.26, allocations: 52.59 kB / 384.9 MB, free: 9.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005374/0.2605, allocations: 35.75 kB / 384.9 MB, free: 9.219 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002589/0.2631, allocations: 2.559 MB / 387.5 MB, free: 7.141 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.2634, allocations: 0.7348 MB / 388.2 MB, free: 6.438 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.2635, allocations: 25.81 kB / 388.3 MB, free: 6.426 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.239e-05/0.2635, allocations: 54.72 kB / 388.3 MB, free: 6.387 MB / 318.1 MB Notification: Performance of SimCode: time 1.964e-06/0.2636, allocations: 0 / 388.3 MB, free: 6.387 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7887/1.052, allocations: 3.776 MB / 392.1 MB, free: 5.707 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/12.43, allocations: 1.281 kB / 392.1 MB, free: 5.707 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_WhyArrows_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches