Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008981/0.0008981, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0009308/0.0009308, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8591/0.8591, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.92e-05, allocations: 2.281 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002516/0.002536, allocations: 2.149 MB / 326.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004418/0.002977, allocations: 199.2 kB / 326.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.521e-05/0.003063, allocations: 7.938 kB / 326.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.683e-05/0.003129, allocations: 39.64 kB / 326.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.00325, allocations: 59.42 kB / 327 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001435/0.003393, allocations: 55.86 kB / 327.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.003569, allocations: 250.8 kB / 327.3 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.003726, allocations: 74.92 kB / 327.4 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.003863, allocations: 139.8 kB / 327.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.461e-05/0.003957, allocations: 75.77 kB / 327.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.151e-05/0.003989, allocations: 20 kB / 327.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.12e-05/0.00401, allocations: 24 kB / 327.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.117e-05/0.004041, allocations: 43.83 kB / 327.7 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.44e-05/0.004096, allocations: 75.83 kB / 327.7 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.004301, allocations: 263.1 kB / 328 MB, free: 12.49 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.004304, allocations: 0 / 328 MB, free: 12.49 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.004305, allocations: 4 kB / 328 MB, free: 12.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.00431, allocations: 0 / 328 MB, free: 12.48 MB / 298.7 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.0004891/0.004799, allocations: 441.8 kB / 328.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.004837, allocations: 8.031 kB / 328.4 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.77e-05/0.004885, allocations: 66.72 kB / 328.5 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.004922, allocations: 28.8 kB / 328.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.005083, allocations: 157.4 kB / 328.7 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.005097, allocations: 20.88 kB / 328.7 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.005128, allocations: 20.38 kB / 328.7 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.005382, allocations: 232 kB / 329 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.005394, allocations: 192 / 329 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.005412, allocations: 12.38 kB / 329 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.005419, allocations: 8.125 kB / 329 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.005581, allocations: 135.8 kB / 329.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007451/0.006326, allocations: 0.7747 MB / 329.9 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.006493, allocations: 155.7 kB / 330 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.337e-05/0.006556, allocations: 58.5 kB / 330.1 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.006567, allocations: 3.938 kB / 330.1 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.006588, allocations: 46.53 kB / 330.1 MB, free: 10.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.653e-06/0.00659, allocations: 0 / 330.1 MB, free: 10.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002685/0.006859, allocations: 173.7 kB / 330.3 MB, free: 9.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.006905, allocations: 106.8 kB / 330.4 MB, free: 9.852 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.007043, allocations: 209.1 kB / 330.6 MB, free: 9.641 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.007056, allocations: 29.7 kB / 330.7 MB, free: 9.605 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.164e-05/0.007128, allocations: 160.2 kB / 330.8 MB, free: 9.445 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/0.007168, allocations: 71.41 kB / 330.9 MB, free: 9.375 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.257e-05/0.00722, allocations: 53.94 kB / 330.9 MB, free: 9.312 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.899e-05/0.007299, allocations: 326.8 kB / 331.2 MB, free: 8.984 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.098e-05/0.00736, allocations: 48.55 kB / 331.3 MB, free: 8.938 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.007462, allocations: 155.6 kB / 331.4 MB, free: 8.738 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.007642, allocations: 221.5 kB / 331.7 MB, free: 8.473 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.007645, allocations: 4 kB / 331.7 MB, free: 8.469 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002389/0.007884, allocations: 245.9 kB / 331.9 MB, free: 8.223 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.0079, allocations: 8 kB / 331.9 MB, free: 8.215 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.007907, allocations: 4 kB / 331.9 MB, free: 8.211 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.007922, allocations: 8.375 kB / 331.9 MB, free: 8.203 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003695/0.008291, allocations: 63.92 kB / 332 MB, free: 8.141 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.008302, allocations: 11.92 kB / 332 MB, free: 8.129 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.465e-05/0.008377, allocations: 31.78 kB / 332 MB, free: 8.098 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.008386, allocations: 8 kB / 332 MB, free: 8.09 MB / 298.7 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 8.234e-05/0.008469, allocations: 141.7 kB / 332.2 MB, free: 7.941 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.008507, allocations: 19.86 kB / 332.2 MB, free: 7.922 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.485e-05/0.008542, allocations: 25.45 kB / 332.2 MB, free: 7.898 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.008546, allocations: 7.938 kB / 332.2 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.008551, allocations: 0 / 332.2 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.008556, allocations: 4 kB / 332.2 MB, free: 7.887 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003644/0.00892, allocations: 376 kB / 332.6 MB, free: 7.461 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.008922, allocations: 0 / 332.6 MB, free: 7.461 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.009035, allocations: 39.92 kB / 332.6 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.009038, allocations: 4 kB / 332.6 MB, free: 7.418 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.009051, allocations: 11.98 kB / 332.7 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.009053, allocations: 4 kB / 332.7 MB, free: 7.402 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.009054, allocations: 3.938 kB / 332.7 MB, free: 7.398 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.009312, allocations: 365.2 kB / 333 MB, free: 7.016 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.304e-05/0.009335, allocations: 27.89 kB / 333 MB, free: 6.988 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.009352, allocations: 8 kB / 333.1 MB, free: 6.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.453e-05/0.009427, allocations: 8.031 kB / 333.1 MB, free: 6.973 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.009445, allocations: 7.984 kB / 333.1 MB, free: 6.965 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.009452, allocations: 12 kB / 333.1 MB, free: 6.953 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.614e-05/0.009528, allocations: 139.4 kB / 333.2 MB, free: 6.816 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009528, allocations: 0 / 333.2 MB, free: 6.816 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002589/0.009787, allocations: 59.83 kB / 333.3 MB, free: 6.758 MB / 298.7 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.000429/0.01022, allocations: 0.9043 MB / 334.2 MB, free: 5.82 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002025/0.01042, allocations: 139.8 kB / 334.3 MB, free: 5.684 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01042, allocations: 0 / 334.3 MB, free: 5.684 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.877e-05/0.01047, allocations: 51.92 kB / 334.4 MB, free: 5.633 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.01084, allocations: 32.73 kB / 334.4 MB, free: 5.602 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.01271, allocations: 2.469 MB / 336.9 MB, free: 2.934 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.278e-05/0.01279, allocations: 121.2 kB / 337 MB, free: 2.797 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.157e-05/0.01286, allocations: 29.92 kB / 337 MB, free: 2.762 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.309e-05/0.01294, allocations: 52.48 kB / 337.1 MB, free: 2.711 MB / 298.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01294, allocations: 0 / 337.1 MB, free: 2.711 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.03035, allocations: 4.475 MB / 341.5 MB, free: 14.38 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.514/6.544, allocations: 11.19 kB / 341.6 MB, free: 14.37 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_WhyArrows_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 8.146895460784435]