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.001492/0.001492, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001663/0.001663, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.323/1.323, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001098, allocations: 38.16 kB / 300.7 MB, free: 5.773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08843/0.08955, allocations: 49.44 MB / 350.2 MB, free: 4.316 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003614/0.0932, allocations: 2.243 MB / 352.4 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004813/0.09371, allocations: 195.3 kB / 352.6 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.09386, allocations: 7.938 kB / 352.6 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.09399, allocations: 35.64 kB / 352.6 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.09418, allocations: 63.42 kB / 352.7 MB, free: 1.758 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.09437, allocations: 55.88 kB / 352.8 MB, free: 1.703 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.09461, allocations: 231 kB / 353 MB, free: 1.477 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002091/0.09483, allocations: 110.6 kB / 353.1 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.09496, allocations: 83.72 kB / 353.2 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.09516, allocations: 111.5 kB / 353.3 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.353e-05/0.09529, allocations: 20 kB / 353.3 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.826e-05/0.09534, allocations: 20 kB / 353.3 MB, free: 1.133 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.563e-05/0.09539, allocations: 51.84 kB / 353.4 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.0955, allocations: 111.5 kB / 353.5 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.09575, allocations: 255.3 kB / 353.7 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.09576, allocations: 0 / 353.7 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.09577, allocations: 4 kB / 353.7 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.904e-06/0.09578, allocations: 0 / 353.7 MB, free: 0.7188 MB / 286.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.000698/0.09649, allocations: 0.5032 MB / 354.2 MB, free: 168 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.09653, allocations: 12.03 kB / 354.2 MB, free: 156 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.901e-05/0.09659, allocations: 54.73 kB / 354.3 MB, free: 92 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/0.09665, allocations: 28.64 kB / 354.3 MB, free: 64 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.09686, allocations: 216 kB / 354.5 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.09689, allocations: 20.94 kB / 354.6 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.211e-05/0.09694, allocations: 24.22 kB / 354.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004565/0.0974, allocations: 236.9 kB / 354.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.09742, allocations: 3.938 kB / 354.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.09745, allocations: 8 kB / 354.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.09746, allocations: 8 kB / 354.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002273/0.09769, allocations: 131.9 kB / 355 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.09877, allocations: 0.8594 MB / 355.8 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.099, allocations: 155.7 kB / 356 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.773e-05/0.0991, allocations: 62.56 kB / 356 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.09912, allocations: 0 / 356 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.09915, allocations: 54.48 kB / 356.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 2.465e-06/0.09916, allocations: 0 / 356.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.000476/0.09964, allocations: 173.6 kB / 356.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.09972, allocations: 106.8 kB / 356.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.09991, allocations: 198.4 kB / 356.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.837e-05/0.09998, allocations: 41.58 kB / 356.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.223e-05/0.1001, allocations: 151.9 kB / 356.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.662e-05/0.1001, allocations: 67.09 kB / 356.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.955e-05/0.1002, allocations: 57.89 kB / 356.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1004, allocations: 326.8 kB / 357.2 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.487e-05/0.1005, allocations: 44.53 kB / 357.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.1006, allocations: 159.6 kB / 357.4 MB, free: 12.72 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.1009, allocations: 213.5 kB / 357.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1009, allocations: 4 kB / 357.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003581/0.1012, allocations: 250.1 kB / 357.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1013, allocations: 12.03 kB / 357.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.1013, allocations: 4 kB / 357.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.1013, allocations: 4 kB / 357.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.1015, allocations: 63.91 kB / 357.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.1015, allocations: 8 kB / 357.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.1018, allocations: 27.69 kB / 358 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.1018, allocations: 8 kB / 358 MB, free: 12.09 MB / 302.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.0001306/0.1019, allocations: 145.7 kB / 358.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.403e-05/0.102, allocations: 27.69 kB / 358.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.054e-05/0.1021, allocations: 25.39 kB / 358.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1021, allocations: 4 kB / 358.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1021, allocations: 0 / 358.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.1021, allocations: 4 kB / 358.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005291/0.1027, allocations: 420.9 kB / 358.6 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1027, allocations: 96 / 358.6 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.1029, allocations: 39.98 kB / 358.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1029, allocations: 0 / 358.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.1029, allocations: 8 kB / 358.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.1029, allocations: 3.938 kB / 358.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1029, allocations: 4 kB / 358.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003558/0.1033, allocations: 376.9 kB / 359 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.515e-05/0.1033, allocations: 96.95 kB / 359.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.1034, allocations: 8 kB / 359.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.1035, allocations: 0 / 359.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.1036, allocations: 19.86 kB / 359.1 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.1036, allocations: 8 kB / 359.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.892e-05/0.1037, allocations: 148.2 kB / 359.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1037, allocations: 4 kB / 359.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003931/0.1041, allocations: 47.94 kB / 359.3 MB, free: 10.61 MB / 302.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.0006029/0.1047, allocations: 0.9121 MB / 360.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002526/0.105, allocations: 155.7 kB / 360.4 MB, free: 9.508 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.105, allocations: 0 / 360.4 MB, free: 9.508 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.272e-05/0.1051, allocations: 52.8 kB / 360.4 MB, free: 9.457 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004967/0.1056, allocations: 40.05 kB / 360.5 MB, free: 9.418 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003008/0.1086, allocations: 2.557 MB / 363 MB, free: 6.672 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.1089, allocations: 0.7359 MB / 363.8 MB, free: 5.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.402e-05/0.109, allocations: 17.95 kB / 363.8 MB, free: 5.895 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.1092, allocations: 63.41 kB / 363.9 MB, free: 5.832 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1092, allocations: 0 / 363.9 MB, free: 5.832 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.1311, allocations: 3.642 MB / 367.5 MB, free: 2.27 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.707/7.838, allocations: 3.984 kB / 367.5 MB, free: 2.266 MB / 302.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