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.0008134/0.0008133, allocations: 95.61 kB / 17.3 MB, free: 6.391 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.001044/0.001044, allocations: 175.6 kB / 18.21 MB, free: 5.551 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.203/1.203, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0004196/0.0004196, allocations: 12 kB / 281.5 MB, free: 3.332 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07941/0.07984, allocations: 47.58 MB / 329.1 MB, free: 3.672 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002089/0.08198, allocations: 1.938 MB / 331 MB, free: 1.719 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003339/0.08233, allocations: 191.3 kB / 331.2 MB, free: 1.531 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.692e-05/0.08244, allocations: 4 kB / 331.2 MB, free: 1.527 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.769e-05/0.08252, allocations: 27.77 kB / 331.2 MB, free: 1.5 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.08268, allocations: 55.55 kB / 331.3 MB, free: 1.445 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000137/0.08282, allocations: 47.95 kB / 331.3 MB, free: 1.398 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.08304, allocations: 227 kB / 331.5 MB, free: 1.176 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.08323, allocations: 87.53 kB / 331.6 MB, free: 1.09 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.924e-05/0.08334, allocations: 75.72 kB / 331.7 MB, free: 1.016 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.08347, allocations: 87.56 kB / 331.8 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.08351, allocations: 12 kB / 331.8 MB, free: 0.918 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.69e-05/0.08355, allocations: 12 kB / 331.8 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.891e-05/0.0836, allocations: 39.84 kB / 331.8 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.08372, allocations: 133.2 kB / 332 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.08395, allocations: 235 kB / 332.2 MB, free: 0.5 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.08396, allocations: 11.94 kB / 332.2 MB, free: 500 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.08397, allocations: 0 / 332.2 MB, free: 500 kB / 270.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.08398, allocations: 0 / 332.2 MB, free: 500 kB / 270.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.0006029/0.08459, allocations: 475.4 kB / 332.7 MB, free: 15.97 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.08464, allocations: 8.031 kB / 332.7 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.454e-05/0.0847, allocations: 54.73 kB / 332.7 MB, free: 15.9 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.08475, allocations: 36.64 kB / 332.8 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.08496, allocations: 216 kB / 333 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.08499, allocations: 20.94 kB / 333 MB, free: 15.6 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/0.08503, allocations: 24.28 kB / 333 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004161/0.08545, allocations: 236.8 kB / 333.3 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.08547, allocations: 3.938 kB / 333.3 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.0855, allocations: 12 kB / 333.3 MB, free: 15.31 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.08551, allocations: 4 kB / 333.3 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002796/0.0858, allocations: 139.2 kB / 333.4 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009686/0.08677, allocations: 0.8516 MB / 334.3 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.08699, allocations: 167.6 kB / 334.4 MB, free: 14.07 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.139e-05/0.08708, allocations: 58.56 kB / 334.5 MB, free: 14 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.0871, allocations: 4 kB / 334.5 MB, free: 14 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.08713, allocations: 46.48 kB / 334.5 MB, free: 13.94 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.172e-06/0.08714, allocations: 0 / 334.5 MB, free: 13.94 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003189/0.08746, allocations: 173.9 kB / 334.7 MB, free: 13.77 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.08752, allocations: 106.8 kB / 334.8 MB, free: 13.64 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.08768, allocations: 202.5 kB / 335 MB, free: 13.43 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.08771, allocations: 29.7 kB / 335 MB, free: 13.39 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.426e-05/0.08779, allocations: 151.9 kB / 335.2 MB, free: 13.24 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/0.08784, allocations: 71.03 kB / 335.3 MB, free: 13.17 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.08788, allocations: 29.7 kB / 335.3 MB, free: 13.14 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.353e-05/0.08798, allocations: 326.8 kB / 335.6 MB, free: 12.81 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.72e-05/0.08806, allocations: 48.53 kB / 335.7 MB, free: 12.76 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.0882, allocations: 158.8 kB / 335.8 MB, free: 12.55 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002199/0.08843, allocations: 221.5 kB / 336 MB, free: 12.29 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.08845, allocations: 4 kB / 336 MB, free: 12.29 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003226/0.08877, allocations: 245.3 kB / 336.3 MB, free: 12.04 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.0888, allocations: 12.06 kB / 336.3 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.08881, allocations: 7.938 kB / 336.3 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.08883, allocations: 4 kB / 336.3 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.08902, allocations: 55.92 kB / 336.3 MB, free: 11.96 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.08904, allocations: 7.984 kB / 336.4 MB, free: 11.95 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.08917, allocations: 31.69 kB / 336.4 MB, free: 11.92 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.08919, allocations: 12 kB / 336.4 MB, free: 11.91 MB / 286.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.0001001/0.08929, allocations: 137.8 kB / 336.5 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.08937, allocations: 23.75 kB / 336.6 MB, free: 11.74 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.416e-05/0.08943, allocations: 25.39 kB / 336.6 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.08944, allocations: 7.938 kB / 336.6 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.08945, allocations: 0 / 336.6 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.08945, allocations: 0 / 336.6 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004735/0.08993, allocations: 428.8 kB / 337 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.08994, allocations: 0 / 337 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.09013, allocations: 44.08 kB / 337 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.09014, allocations: 0 / 337 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.09016, allocations: 4 kB / 337.1 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.09017, allocations: 3.938 kB / 337.1 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.09018, allocations: 4 kB / 337.1 MB, free: 11.17 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003752/0.09056, allocations: 373.6 kB / 337.4 MB, free: 10.78 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.255e-05/0.09062, allocations: 96.95 kB / 337.5 MB, free: 10.67 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.09065, allocations: 4 kB / 337.5 MB, free: 10.66 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.09079, allocations: 8 kB / 337.5 MB, free: 10.66 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.09083, allocations: 19.8 kB / 337.5 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.09084, allocations: 8 kB / 337.6 MB, free: 10.63 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000104/0.09095, allocations: 144.3 kB / 337.7 MB, free: 10.49 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09096, allocations: 4 kB / 337.7 MB, free: 10.48 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.00034/0.0913, allocations: 55.84 kB / 337.8 MB, free: 10.43 MB / 286.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.0006119/0.09192, allocations: 0.8964 MB / 338.7 MB, free: 9.5 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002663/0.0922, allocations: 143.8 kB / 338.8 MB, free: 9.359 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.09221, allocations: 0 / 338.8 MB, free: 9.359 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.227e-05/0.09229, allocations: 56.86 kB / 338.8 MB, free: 9.305 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004834/0.09278, allocations: 31.98 kB / 338.9 MB, free: 9.273 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/0.09541, allocations: 2.701 MB / 341.6 MB, free: 6.371 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.09569, allocations: 0.7359 MB / 342.3 MB, free: 5.609 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.419e-05/0.09578, allocations: 17.95 kB / 342.3 MB, free: 5.594 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.982e-05/0.09587, allocations: 55.42 kB / 342.4 MB, free: 5.539 MB / 286.1 MB Notification: Performance of SimCode: time 1.533e-06/0.09587, allocations: 0 / 342.4 MB, free: 5.539 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2354/0.3313, allocations: 3.397 MB / 345.8 MB, free: 2.145 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003114/0.3316, allocations: 215.7 kB / 346 MB, free: 1.875 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/2.108, allocations: 0 / 346 MB, free: 1.875 MB / 286.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","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches