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.001041/0.001041, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.0011/0.0011, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.283/1.283, allocations: 222.9 MB / 241.1 MB, free: 13.71 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009079/0.0009079, allocations: 46.08 kB / 300.1 MB, free: 5.969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07743/0.07835, allocations: 49.44 MB / 349.5 MB, free: 4.52 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003174/0.08156, allocations: 2.304 MB / 351.8 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003979/0.08201, allocations: 187.2 kB / 352 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.08213, allocations: 8 kB / 352 MB, free: 2.004 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.633e-05/0.08224, allocations: 23.84 kB / 352 MB, free: 1.98 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.08245, allocations: 51.55 kB / 352.1 MB, free: 1.93 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001453/0.0826, allocations: 47.95 kB / 352.1 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.08281, allocations: 219 kB / 352.3 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.08298, allocations: 91.23 kB / 352.4 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.569e-05/0.08309, allocations: 83.72 kB / 352.5 MB, free: 1.492 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.08326, allocations: 99.53 kB / 352.6 MB, free: 1.395 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.408e-05/0.0833, allocations: 20 kB / 352.6 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.531e-05/0.08334, allocations: 19.94 kB / 352.6 MB, free: 1.355 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.804e-05/0.08338, allocations: 43.78 kB / 352.7 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.622e-05/0.08348, allocations: 111.5 kB / 352.8 MB, free: 1.203 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.0837, allocations: 247.3 kB / 353 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.08371, allocations: 0 / 353 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.08371, allocations: 0 / 353 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.08372, allocations: 0 / 353 MB, free: 0.9609 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.0006507/0.08438, allocations: 0.5032 MB / 353.5 MB, free: 416 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.08442, allocations: 12.03 kB / 353.5 MB, free: 404 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.768e-05/0.08449, allocations: 58.72 kB / 353.6 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/0.08453, allocations: 24.66 kB / 353.6 MB, free: 312 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.08475, allocations: 220 kB / 353.8 MB, free: 52 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.08478, allocations: 16.94 kB / 353.9 MB, free: 36 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.08482, allocations: 24.28 kB / 353.9 MB, free: 12 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003361/0.08516, allocations: 232.9 kB / 354.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.08519, allocations: 11.88 kB / 354.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.08521, allocations: 8 kB / 354.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.08523, allocations: 11.98 kB / 354.1 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00022/0.08545, allocations: 123.9 kB / 354.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.08651, allocations: 0.8711 MB / 355.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.08671, allocations: 155.7 kB / 355.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.464e-05/0.08681, allocations: 62.56 kB / 355.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.08682, allocations: 4 kB / 355.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.08685, allocations: 46.44 kB / 355.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.473e-06/0.08686, allocations: 0 / 355.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.000351/0.08721, allocations: 169.7 kB / 355.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.975e-05/0.08726, allocations: 102.8 kB / 355.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.08743, allocations: 198.6 kB / 355.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.08745, allocations: 25.7 kB / 355.9 MB, free: 13.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.947e-05/0.08754, allocations: 167.9 kB / 356 MB, free: 13.67 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.08758, allocations: 59.11 kB / 356.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.052e-05/0.08766, allocations: 57.89 kB / 356.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.651e-05/0.08775, allocations: 326.8 kB / 356.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.104e-05/0.08785, allocations: 44.55 kB / 356.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.08801, allocations: 167.6 kB / 356.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.08824, allocations: 214.2 kB / 356.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.08825, allocations: 4 kB / 356.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003418/0.0886, allocations: 253.2 kB / 357.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.08865, allocations: 8 kB / 357.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.08866, allocations: 4 kB / 357.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.08868, allocations: 4 kB / 357.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.08888, allocations: 63.91 kB / 357.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.0889, allocations: 7.938 kB / 357.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.08903, allocations: 31.69 kB / 357.3 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.08905, allocations: 8 kB / 357.3 MB, free: 12.32 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.0001045/0.08916, allocations: 149.9 kB / 357.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.007e-05/0.08924, allocations: 23.73 kB / 357.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.343e-05/0.08928, allocations: 21.41 kB / 357.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.08929, allocations: 4 kB / 357.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.0893, allocations: 0 / 357.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.08931, allocations: 0 / 357.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005104/0.08983, allocations: 432.8 kB / 357.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.08984, allocations: 0 / 357.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.09003, allocations: 35.98 kB / 357.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.09004, allocations: 3.938 kB / 357.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.09006, allocations: 8 kB / 357.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.09006, allocations: 0 / 357.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.09007, allocations: 4 kB / 357.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003771/0.09045, allocations: 387.7 kB / 358.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/0.09051, allocations: 92.92 kB / 358.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.09054, allocations: 4 kB / 358.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.09068, allocations: 4 kB / 358.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.965e-05/0.09071, allocations: 15.97 kB / 358.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.09073, allocations: 8 kB / 358.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001003/0.09083, allocations: 152.3 kB / 358.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09084, allocations: 0 / 358.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003387/0.09118, allocations: 47.94 kB / 358.6 MB, free: 10.85 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.0005163/0.09171, allocations: 0.9131 MB / 359.5 MB, free: 9.895 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002279/0.09194, allocations: 131.8 kB / 359.7 MB, free: 9.766 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.09198, allocations: 4.875 kB / 359.7 MB, free: 9.762 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.021e-05/0.09206, allocations: 55.98 kB / 359.7 MB, free: 9.707 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.0925, allocations: 31.98 kB / 359.8 MB, free: 9.676 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.095, allocations: 2.631 MB / 362.4 MB, free: 6.855 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.0953, allocations: 0.7359 MB / 363.1 MB, free: 6.094 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.645e-05/0.09539, allocations: 21.89 kB / 363.2 MB, free: 6.074 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.199e-05/0.09548, allocations: 59.41 kB / 363.2 MB, free: 6.016 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.09549, allocations: 0 / 363.2 MB, free: 6.016 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3957/0.4912, allocations: 3.468 MB / 366.7 MB, free: 2.656 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002587/0.4915, allocations: 209.7 kB / 366.9 MB, free: 2.395 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/2.397, allocations: 0 / 366.9 MB, free: 2.395 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