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.001475/0.001475, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001755/0.001755, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 63.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2893, allocations: 50.54 MB / 408.7 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003186/0.2925, allocations: 2.269 MB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003966/0.2929, allocations: 203.2 kB / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.327e-05/0.293, allocations: 4 kB / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.436e-05/0.2931, allocations: 39.58 kB / 411.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.2933, allocations: 59.42 kB / 411.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.2935, allocations: 55.92 kB / 411.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002278/0.2937, allocations: 235 kB / 411.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002207/0.294, allocations: 110.5 kB / 411.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.2941, allocations: 87.72 kB / 411.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.2942, allocations: 103.5 kB / 411.9 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.488e-05/0.2943, allocations: 20 kB / 411.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.356e-05/0.2943, allocations: 24 kB / 411.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.541e-05/0.2943, allocations: 43.84 kB / 412 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.2945, allocations: 115.5 kB / 412.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.2948, allocations: 253.9 kB / 412.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.2948, allocations: 4 kB / 412.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2948, allocations: 0 / 412.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.2948, allocations: 0 / 412.3 MB, free: 13.95 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.0007218/0.2955, allocations: 0.5068 MB / 412.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.2956, allocations: 12.03 kB / 412.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.114e-05/0.2956, allocations: 58.72 kB / 412.9 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.681e-05/0.2957, allocations: 24.8 kB / 412.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.2959, allocations: 224 kB / 413.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.296, allocations: 20.94 kB / 413.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.397e-05/0.296, allocations: 24.38 kB / 413.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003637/0.2964, allocations: 232.8 kB / 413.4 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.2964, allocations: 7.938 kB / 413.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.2964, allocations: 8 kB / 413.4 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.2964, allocations: 8 kB / 413.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002492/0.2967, allocations: 135.8 kB / 413.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.2978, allocations: 0.8519 MB / 414.4 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.298, allocations: 163.7 kB / 414.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.657e-05/0.2981, allocations: 62.48 kB / 414.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.2981, allocations: 11.98 kB / 414.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.2982, allocations: 42.44 kB / 414.7 MB, free: 11.35 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.393e-06/0.2982, allocations: 0 / 414.7 MB, free: 11.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.000362/0.2985, allocations: 169.7 kB / 414.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.2986, allocations: 106.8 kB / 415 MB, free: 11.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.2988, allocations: 199.5 kB / 415.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.2988, allocations: 29.7 kB / 415.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.78e-05/0.2989, allocations: 164.1 kB / 415.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.557e-05/0.299, allocations: 67.42 kB / 415.4 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.392e-05/0.2991, allocations: 53.98 kB / 415.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.2992, allocations: 326.8 kB / 415.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.504e-05/0.2993, allocations: 52.53 kB / 415.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.2995, allocations: 155.6 kB / 416 MB, free: 9.938 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.2997, allocations: 226.2 kB / 416.2 MB, free: 9.668 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2997, allocations: 0 / 416.2 MB, free: 9.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003421/0.3001, allocations: 249 kB / 416.5 MB, free: 9.418 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3001, allocations: 4.438 kB / 416.5 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3001, allocations: 8 kB / 416.5 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.3001, allocations: 8 kB / 416.5 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.3004, allocations: 63.91 kB / 416.6 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.3004, allocations: 4 kB / 416.6 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.3005, allocations: 23.84 kB / 416.6 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.3006, allocations: 16 kB / 416.6 MB, free: 9.293 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.0001039/0.3007, allocations: 133.7 kB / 416.7 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.305e-05/0.3008, allocations: 23.84 kB / 416.8 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.125e-05/0.3008, allocations: 33.33 kB / 416.8 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.3008, allocations: 0 / 416.8 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3008, allocations: 4 kB / 416.8 MB, free: 9.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3008, allocations: 0 / 416.8 MB, free: 9.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005193/0.3014, allocations: 428.8 kB / 417.2 MB, free: 8.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3014, allocations: 0 / 417.2 MB, free: 8.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.3016, allocations: 35.98 kB / 417.2 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.3016, allocations: 8.094 kB / 417.3 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.3016, allocations: 4 kB / 417.3 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.3016, allocations: 7.938 kB / 417.3 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3016, allocations: 3.938 kB / 417.3 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003674/0.302, allocations: 384.7 kB / 417.6 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.827e-05/0.3021, allocations: 97.05 kB / 417.7 MB, free: 8.035 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.3021, allocations: 4 kB / 417.7 MB, free: 8.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.3022, allocations: 4 kB / 417.7 MB, free: 8.027 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.3023, allocations: 19.86 kB / 417.8 MB, free: 8.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.3023, allocations: 4 kB / 417.8 MB, free: 8.004 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001121/0.3024, allocations: 139.2 kB / 417.9 MB, free: 7.867 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3024, allocations: 3.938 kB / 417.9 MB, free: 7.863 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003538/0.3028, allocations: 59.89 kB / 418 MB, free: 7.805 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.0006187/0.3034, allocations: 0.9015 MB / 418.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002611/0.3037, allocations: 139.8 kB / 419 MB, free: 6.727 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3037, allocations: 0 / 419 MB, free: 6.727 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.532e-05/0.3038, allocations: 55.86 kB / 419.1 MB, free: 6.672 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004877/0.3043, allocations: 29.77 kB / 419.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002714/0.307, allocations: 2.567 MB / 421.7 MB, free: 3.883 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.3073, allocations: 0.7398 MB / 422.4 MB, free: 3.117 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.495e-05/0.3074, allocations: 21.94 kB / 422.4 MB, free: 3.098 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.621e-05/0.3075, allocations: 59.42 kB / 422.5 MB, free: 3.039 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3075, allocations: 0 / 422.5 MB, free: 3.039 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02154/0.329, allocations: 3.737 MB / 426.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.622/7.951, allocations: 13.98 kB / 426.2 MB, free: 15.39 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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