Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 117.5 kB / 19.17 MB, free: 3.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 204 kB / 22.11 MB, free: 1.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 207.6 MB / 232.5 MB, free: 3.949 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 55.92 kB / 343 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08378/0.08545, allocations: 49.13 MB / 392.1 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003401/0.08885, allocations: 2.251 MB / 394.4 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004281/0.08928, allocations: 187.3 kB / 394.5 MB, free: 6.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.579e-05/0.08938, allocations: 12 kB / 394.6 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.622e-05/0.08946, allocations: 31.64 kB / 394.6 MB, free: 6.234 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001575/0.08962, allocations: 63.42 kB / 394.7 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.0898, allocations: 47.94 kB / 394.7 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000265/0.09007, allocations: 239 kB / 394.9 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.09026, allocations: 82.59 kB / 395 MB, free: 5.809 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.09039, allocations: 99.64 kB / 395.1 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.09055, allocations: 99.56 kB / 395.2 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.54e-05/0.09059, allocations: 20 kB / 395.2 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.652e-05/0.09063, allocations: 23.94 kB / 395.3 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.012e-05/0.09068, allocations: 47.84 kB / 395.3 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.0908, allocations: 119.4 kB / 395.4 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003696/0.09116, allocations: 255 kB / 395.7 MB, free: 5.156 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.09117, allocations: 3.938 kB / 395.7 MB, free: 5.152 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.09117, allocations: 0 / 395.7 MB, free: 5.152 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.09118, allocations: 0 / 395.7 MB, free: 5.152 MB / 318.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.0008045/0.09198, allocations: 0.5068 MB / 396.2 MB, free: 4.594 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.09203, allocations: 12.03 kB / 396.2 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.976e-05/0.09205, allocations: 8.75 kB / 396.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.721e-05/0.09211, allocations: 54.73 kB / 396.2 MB, free: 4.512 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.21e-05/0.09216, allocations: 28.8 kB / 396.3 MB, free: 4.484 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.09242, allocations: 223.9 kB / 396.5 MB, free: 4.227 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.09244, allocations: 24.92 kB / 396.5 MB, free: 4.203 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.741e-05/0.09249, allocations: 24.36 kB / 396.5 MB, free: 4.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003828/0.09287, allocations: 236.6 kB / 396.8 MB, free: 3.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.09289, allocations: 7.938 kB / 396.8 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.09291, allocations: 8 kB / 396.8 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.09292, allocations: 8 kB / 396.8 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002312/0.09315, allocations: 127.9 kB / 396.9 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.09427, allocations: 0.8598 MB / 397.8 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.09451, allocations: 159.7 kB / 397.9 MB, free: 2.676 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.111e-05/0.0946, allocations: 54.56 kB / 398 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.09463, allocations: 3.938 kB / 398 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.09466, allocations: 46.5 kB / 398 MB, free: 2.555 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.09466, allocations: 0 / 398 MB, free: 2.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003646/0.09502, allocations: 165.8 kB / 398.2 MB, free: 2.387 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.09509, allocations: 102.8 kB / 398.3 MB, free: 2.262 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.09528, allocations: 202.4 kB / 398.5 MB, free: 2.055 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.0953, allocations: 29.7 kB / 398.5 MB, free: 2.02 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.09541, allocations: 164.1 kB / 398.7 MB, free: 1.852 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.411e-05/0.09546, allocations: 67.42 kB / 398.8 MB, free: 1.785 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.285e-05/0.09554, allocations: 50 kB / 398.8 MB, free: 1.727 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.09568, allocations: 330.8 kB / 399.1 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.696e-05/0.09577, allocations: 48.48 kB / 399.2 MB, free: 1.348 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.09594, allocations: 154.8 kB / 399.3 MB, free: 1.148 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.09621, allocations: 221.5 kB / 399.5 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.09622, allocations: 7.938 kB / 399.6 MB, free: 0.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003579/0.09657, allocations: 242.2 kB / 399.8 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.09659, allocations: 8.781 kB / 399.8 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.0966, allocations: 11.92 kB / 399.8 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.09662, allocations: 7.938 kB / 399.8 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.09683, allocations: 59.92 kB / 399.9 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.09684, allocations: 7.938 kB / 399.9 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.09698, allocations: 31.78 kB / 399.9 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.09699, allocations: 8 kB / 399.9 MB, free: 0.5 MB / 318.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.0001251/0.09712, allocations: 149.8 kB / 400.1 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.207e-05/0.09719, allocations: 19.84 kB / 400.1 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.524e-05/0.09725, allocations: 21.41 kB / 400.1 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.09725, allocations: 4 kB / 400.1 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.09726, allocations: 0 / 400.1 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.09726, allocations: 7.984 kB / 400.1 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005652/0.09783, allocations: 425 kB / 400.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.09783, allocations: 0 / 400.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/0.09802, allocations: 39.92 kB / 400.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.09802, allocations: 0 / 400.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.09804, allocations: 11.98 kB / 400.6 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.09804, allocations: 0 / 400.6 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.09805, allocations: 4.188 kB / 400.6 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003975/0.09845, allocations: 389.1 kB / 401 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.324e-05/0.09851, allocations: 96.95 kB / 401.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.09854, allocations: 4 kB / 401.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.09867, allocations: 8.047 kB / 401.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.09869, allocations: 11.92 kB / 401.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.09871, allocations: 11.98 kB / 401.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.09883, allocations: 144.3 kB / 401.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.09883, allocations: 0 / 401.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003494/0.09918, allocations: 55.89 kB / 401.3 MB, free: 15.01 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.0006938/0.09987, allocations: 0.9054 MB / 402.2 MB, free: 14.06 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002825/0.1002, allocations: 139.6 kB / 402.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1002, allocations: 0 / 402.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.718e-05/0.1002, allocations: 52.8 kB / 402.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000479/0.1007, allocations: 36.11 kB / 402.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002893/0.1036, allocations: 2.565 MB / 405 MB, free: 11.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.104, allocations: 0.736 MB / 405.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.448e-05/0.1041, allocations: 25.94 kB / 405.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.783e-05/0.1042, allocations: 51.42 kB / 405.8 MB, free: 10.24 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1042, allocations: 0 / 405.8 MB, free: 10.24 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02281/0.127, allocations: 3.798 MB / 409.6 MB, free: 6.383 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.975/8.102, allocations: 16.38 kB / 409.6 MB, free: 6.367 MB / 334.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_WhyArrows_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.353363041998819]