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.001165/0.001165, allocations: 109.2 kB / 16.62 MB, free: 6.961 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.00111/0.00111, allocations: 189.8 kB / 17.54 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.248/1.248, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 46.55 kB / 300.2 MB, free: 5.895 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08794/0.08918, allocations: 49.45 MB / 349.7 MB, free: 4.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003566/0.09279, allocations: 2.292 MB / 352 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004731/0.09329, allocations: 195.2 kB / 352.2 MB, free: 1.941 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.09343, allocations: 8 kB / 352.2 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.811e-05/0.09356, allocations: 27.77 kB / 352.2 MB, free: 1.906 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001706/0.09374, allocations: 55.48 kB / 352.3 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.09391, allocations: 47.91 kB / 352.3 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.09415, allocations: 231 kB / 352.5 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000203/0.09436, allocations: 114.6 kB / 352.6 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.09448, allocations: 87.72 kB / 352.7 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.09462, allocations: 99.56 kB / 352.8 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.204e-05/0.09466, allocations: 20 kB / 352.8 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.983e-05/0.0947, allocations: 24 kB / 352.9 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.346e-05/0.09475, allocations: 47.83 kB / 352.9 MB, free: 1.188 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.09486, allocations: 115.5 kB / 353 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.0951, allocations: 255.3 kB / 353.3 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.09511, allocations: 0 / 353.3 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.09512, allocations: 0 / 353.3 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.09514, allocations: 0 / 353.3 MB, free: 0.8242 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.0006971/0.09584, allocations: 0.5109 MB / 353.8 MB, free: 268 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.09588, allocations: 8.031 kB / 353.8 MB, free: 260 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.398e-05/0.09594, allocations: 58.73 kB / 353.9 MB, free: 192 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.884e-05/0.096, allocations: 24.66 kB / 353.9 MB, free: 168 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.09622, allocations: 224 kB / 354.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.09624, allocations: 16.94 kB / 354.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.884e-05/0.09628, allocations: 24.28 kB / 354.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003619/0.09665, allocations: 236.8 kB / 354.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.09667, allocations: 3.938 kB / 354.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.0967, allocations: 12 kB / 354.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.09671, allocations: 4 kB / 354.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002155/0.09693, allocations: 127.9 kB / 354.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.09797, allocations: 0.8633 MB / 355.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.09819, allocations: 159.9 kB / 355.5 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.46e-05/0.09829, allocations: 58.56 kB / 355.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.09831, allocations: 4 kB / 355.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.09834, allocations: 46.48 kB / 355.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.392e-06/0.09834, allocations: 0 / 355.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003453/0.09869, allocations: 174 kB / 355.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.09875, allocations: 106.8 kB / 355.9 MB, free: 13.94 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.09892, allocations: 202.6 kB / 356.1 MB, free: 13.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.09894, allocations: 29.64 kB / 356.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.205e-05/0.09904, allocations: 155.9 kB / 356.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.869e-05/0.09909, allocations: 63.09 kB / 356.4 MB, free: 13.47 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.857e-05/0.09917, allocations: 53.91 kB / 356.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.754e-05/0.09927, allocations: 326.8 kB / 356.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.267e-05/0.09937, allocations: 48.55 kB / 356.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.09952, allocations: 167.5 kB / 356.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.09976, allocations: 221.5 kB / 357.2 MB, free: 12.56 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.09978, allocations: 0 / 357.2 MB, free: 12.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003334/0.1001, allocations: 237.1 kB / 357.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1001, allocations: 8.422 kB / 357.4 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1002, allocations: 8 kB / 357.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1002, allocations: 8 kB / 357.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.1004, allocations: 59.86 kB / 357.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.1004, allocations: 8 kB / 357.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.1005, allocations: 27.69 kB / 357.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.1005, allocations: 15.98 kB / 357.5 MB, free: 12.19 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.000114/0.1007, allocations: 141.7 kB / 357.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.805e-05/0.1007, allocations: 23.75 kB / 357.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.281e-05/0.1008, allocations: 25.41 kB / 357.7 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1008, allocations: 0 / 357.7 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.1008, allocations: 7.984 kB / 357.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1008, allocations: 0 / 357.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004771/0.1013, allocations: 420.8 kB / 358.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1013, allocations: 0 / 358.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.1015, allocations: 35.98 kB / 358.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.1015, allocations: 8.094 kB / 358.2 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.1015, allocations: 7.984 kB / 358.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1016, allocations: 4 kB / 358.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1016, allocations: 3.938 kB / 358.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00033/0.1019, allocations: 384.9 kB / 358.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.102, allocations: 88.92 kB / 358.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.102, allocations: 8 kB / 358.7 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.1021, allocations: 4.031 kB / 358.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/0.1022, allocations: 23.86 kB / 358.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.1022, allocations: 7.984 kB / 358.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001019/0.1023, allocations: 144.2 kB / 358.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1023, allocations: 0 / 358.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003479/0.1026, allocations: 51.94 kB / 358.9 MB, free: 10.71 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.0006134/0.1033, allocations: 0.9092 MB / 359.8 MB, free: 9.762 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002523/0.1035, allocations: 148.2 kB / 359.9 MB, free: 9.617 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1035, allocations: 0 / 359.9 MB, free: 9.617 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.3e-05/0.1036, allocations: 51.86 kB / 360 MB, free: 9.566 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004821/0.1041, allocations: 40.92 kB / 360 MB, free: 9.527 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/0.1069, allocations: 2.63 MB / 362.7 MB, free: 6.711 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.1073, allocations: 0.7398 MB / 363.4 MB, free: 5.945 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.1074, allocations: 25.94 kB / 363.4 MB, free: 5.922 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.435e-05/0.1075, allocations: 51.42 kB / 363.5 MB, free: 5.871 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1075, allocations: 0 / 363.5 MB, free: 5.871 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02347/0.1309, allocations: 3.569 MB / 367 MB, free: 2.426 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/0.1312, allocations: 209.5 kB / 367.2 MB, free: 2.168 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.868/1.999, allocations: 4 kB / 367.2 MB, free: 2.164 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