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.001143/0.001143, allocations: 92.52 kB / 16.65 MB, free: 6.59 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.001335/0.001335, allocations: 184.3 kB / 17.56 MB, free: 6.203 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.372/1.372, allocations: 223.3 MB / 241.6 MB, free: 224 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002558/0.0002557, allocations: 8 kB / 301.5 MB, free: 6.043 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09803/0.0983, allocations: 50.42 MB / 351.9 MB, free: 3.613 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.00237/0.1007, allocations: 1.93 MB / 353.9 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003469/0.1011, allocations: 199.2 kB / 354.1 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.423e-05/0.1012, allocations: 4 kB / 354.1 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.225e-05/0.1012, allocations: 23.83 kB / 354.1 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.1014, allocations: 51.55 kB / 354.1 MB, free: 1.395 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001544/0.1016, allocations: 47.89 kB / 354.2 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.1018, allocations: 227 kB / 354.4 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002198/0.102, allocations: 87.23 kB / 354.5 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.21e-05/0.1021, allocations: 79.67 kB / 354.6 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.1023, allocations: 91.55 kB / 354.7 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.965e-05/0.1023, allocations: 15.94 kB / 354.7 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.108e-05/0.1024, allocations: 12 kB / 354.7 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.699e-05/0.1024, allocations: 35.84 kB / 354.7 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.1025, allocations: 125.2 kB / 354.9 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.1027, allocations: 239.3 kB / 355.1 MB, free: 452 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1027, allocations: 0 / 355.1 MB, free: 452 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1027, allocations: 0 / 355.1 MB, free: 452 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1027, allocations: 0 / 355.1 MB, free: 452 kB / 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.0005943/0.1033, allocations: 483.3 kB / 355.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.1034, allocations: 12.03 kB / 355.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.018e-05/0.1035, allocations: 58.73 kB / 355.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.498e-05/0.1035, allocations: 24.75 kB / 355.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.1038, allocations: 231.8 kB / 355.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.1038, allocations: 16.94 kB / 355.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.1038, allocations: 24.38 kB / 355.9 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003522/0.1042, allocations: 224.9 kB / 356.1 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.1042, allocations: 11.88 kB / 356.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.1042, allocations: 8 kB / 356.2 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.1043, allocations: 8 kB / 356.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.1045, allocations: 127.9 kB / 356.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.1055, allocations: 0.8633 MB / 357.2 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.1058, allocations: 155.7 kB / 357.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.98e-05/0.1059, allocations: 62.56 kB / 357.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.1059, allocations: 4 kB / 357.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.1059, allocations: 42.44 kB / 357.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.106, allocations: 0 / 357.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003612/0.1063, allocations: 165.7 kB / 357.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.1064, allocations: 110.8 kB / 357.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.1066, allocations: 206.4 kB / 357.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.1066, allocations: 33.64 kB / 357.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.01e-05/0.1067, allocations: 151.9 kB / 358.1 MB, free: 13.19 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.166e-05/0.1068, allocations: 70.98 kB / 358.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.1068, allocations: 29.66 kB / 358.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1069, allocations: 330.8 kB / 358.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.488e-05/0.107, allocations: 44.55 kB / 358.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.1072, allocations: 159.6 kB / 358.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.1074, allocations: 226.1 kB / 358.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1074, allocations: 0 / 358.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003359/0.1078, allocations: 249.1 kB / 359.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1078, allocations: 14.33 kB / 359.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.1078, allocations: 4 kB / 359.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1078, allocations: 7.938 kB / 359.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.108, allocations: 55.92 kB / 359.2 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.1081, allocations: 7.938 kB / 359.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.1082, allocations: 36.11 kB / 359.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.1082, allocations: 16 kB / 359.3 MB, free: 11.84 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.0001148/0.1083, allocations: 141.7 kB / 359.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.01e-05/0.1084, allocations: 19.75 kB / 359.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.613e-05/0.1085, allocations: 21.41 kB / 359.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.1085, allocations: 4 kB / 359.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.1085, allocations: 3.984 kB / 359.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1085, allocations: 0 / 359.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004899/0.109, allocations: 416.9 kB / 359.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.109, allocations: 4 kB / 359.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.1092, allocations: 39.92 kB / 359.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.1092, allocations: 4 kB / 359.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.1092, allocations: 7.984 kB / 359.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1092, allocations: 0 / 359.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1092, allocations: 0 / 359.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.1096, allocations: 385 kB / 360.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-05/0.1097, allocations: 93.11 kB / 360.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.1097, allocations: 12.03 kB / 360.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.1098, allocations: 8 kB / 360.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.728e-05/0.1099, allocations: 23.91 kB / 360.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.1099, allocations: 4 kB / 360.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001074/0.11, allocations: 144.2 kB / 360.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.11, allocations: 0 / 360.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003384/0.1104, allocations: 51.94 kB / 360.6 MB, free: 10.38 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.0005777/0.1109, allocations: 0.9091 MB / 361.6 MB, free: 9.426 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002415/0.1112, allocations: 143.1 kB / 361.7 MB, free: 9.289 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1112, allocations: 4.062 kB / 361.7 MB, free: 9.285 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.379e-05/0.1113, allocations: 51.92 kB / 361.7 MB, free: 9.234 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004846/0.1118, allocations: 35.3 kB / 361.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002723/0.1145, allocations: 2.703 MB / 364.5 MB, free: 6.305 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.1148, allocations: 0.7281 MB / 365.2 MB, free: 5.551 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.312e-05/0.1149, allocations: 25.94 kB / 365.2 MB, free: 5.523 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.072e-05/0.115, allocations: 51.42 kB / 365.3 MB, free: 5.473 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.115, allocations: 4 kB / 365.3 MB, free: 5.469 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01307/0.1281, allocations: 3.398 MB / 368.7 MB, free: 2.203 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/0.1283, allocations: 204.7 kB / 368.9 MB, free: 1.949 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.937/2.065, allocations: 0 / 368.9 MB, free: 1.949 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