Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000814/0.000814, allocations: 80.34 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001273/0.001273, allocations: 160.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9033/0.9033, allocations: 177 MB / 204.1 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.897e-05/2.055e-05, allocations: 7.203 kB / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002404/0.002425, allocations: 2.151 MB / 326.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003604/0.002785, allocations: 195.3 kB / 326.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.114e-05/0.002856, allocations: 4 kB / 326.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.403e-05/0.00292, allocations: 35.64 kB / 326.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.003043, allocations: 67.36 kB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.0032, allocations: 55.92 kB / 327 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.00337, allocations: 246.8 kB / 327.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.003524, allocations: 74.92 kB / 327.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.003646, allocations: 131.8 kB / 327.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.787e-05/0.003744, allocations: 79.77 kB / 327.5 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.003775, allocations: 20 kB / 327.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.146e-05/0.003797, allocations: 20 kB / 327.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.003953, allocations: 47.83 kB / 327.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.137e-05/0.004005, allocations: 79.83 kB / 327.7 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.004201, allocations: 271.1 kB / 328 MB, free: 12.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.004203, allocations: 0 / 328 MB, free: 12.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.004204, allocations: 0 / 328 MB, free: 12.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.004208, allocations: 0 / 328 MB, free: 12.45 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.0005771/0.004785, allocations: 441.8 kB / 328.4 MB, free: 11.99 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.004821, allocations: 15.98 kB / 328.4 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.41e-05/0.004865, allocations: 58.73 kB / 328.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.004901, allocations: 24.8 kB / 328.5 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.005057, allocations: 156.3 kB / 328.6 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.005071, allocations: 20.88 kB / 328.7 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.0051, allocations: 20.38 kB / 328.7 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.005346, allocations: 232 kB / 328.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.005358, allocations: 192 / 328.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.005375, allocations: 12.38 kB / 328.9 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.005383, allocations: 12.12 kB / 328.9 MB, free: 11.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.005542, allocations: 139.7 kB / 329.1 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007154/0.006258, allocations: 0.7785 MB / 329.8 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.006415, allocations: 151.7 kB / 330 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.165e-05/0.006477, allocations: 58.55 kB / 330 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.006488, allocations: 4 kB / 330 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/0.006504, allocations: 38.88 kB / 330.1 MB, free: 10.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.012e-06/0.006505, allocations: 0 / 330.1 MB, free: 10.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002561/0.006761, allocations: 181.5 kB / 330.3 MB, free: 9.953 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.006801, allocations: 102.8 kB / 330.4 MB, free: 9.828 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.006926, allocations: 207.6 kB / 330.6 MB, free: 9.617 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.006937, allocations: 29.7 kB / 330.6 MB, free: 9.582 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.916e-05/0.007006, allocations: 168.2 kB / 330.8 MB, free: 9.414 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/0.00704, allocations: 67.44 kB / 330.8 MB, free: 9.348 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.767e-05/0.007087, allocations: 49.94 kB / 330.9 MB, free: 9.289 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.244e-05/0.00716, allocations: 326.8 kB / 331.2 MB, free: 8.961 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.066e-05/0.007221, allocations: 52.53 kB / 331.2 MB, free: 8.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.757e-05/0.007318, allocations: 163.8 kB / 331.4 MB, free: 8.703 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.007487, allocations: 217.5 kB / 331.6 MB, free: 8.441 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.007491, allocations: 8 kB / 331.6 MB, free: 8.434 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002257/0.007716, allocations: 242.3 kB / 331.9 MB, free: 8.191 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.007729, allocations: 12.03 kB / 331.9 MB, free: 8.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.007736, allocations: 4 kB / 331.9 MB, free: 8.176 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.007751, allocations: 7.938 kB / 331.9 MB, free: 8.168 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.007868, allocations: 59.91 kB / 331.9 MB, free: 8.109 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.007875, allocations: 4 kB / 331.9 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.234e-05/0.007948, allocations: 31.78 kB / 332 MB, free: 8.074 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.007958, allocations: 12 kB / 332 MB, free: 8.062 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 7.932e-05/0.008037, allocations: 141.7 kB / 332.1 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.624e-05/0.008074, allocations: 19.86 kB / 332.1 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.238e-05/0.008106, allocations: 29.45 kB / 332.2 MB, free: 7.867 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.00811, allocations: 7.938 kB / 332.2 MB, free: 7.859 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.008115, allocations: 3.938 kB / 332.2 MB, free: 7.855 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.00812, allocations: 4 kB / 332.2 MB, free: 7.852 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003199/0.00844, allocations: 372 kB / 332.6 MB, free: 7.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.008441, allocations: 0 / 332.6 MB, free: 7.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.008544, allocations: 35.98 kB / 332.6 MB, free: 7.395 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.008546, allocations: 3.938 kB / 332.6 MB, free: 7.391 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.008555, allocations: 8 kB / 332.6 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.008558, allocations: 12.11 kB / 332.6 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.00856, allocations: 3.984 kB / 332.6 MB, free: 7.367 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.00881, allocations: 368.7 kB / 333 MB, free: 6.984 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.215e-05/0.008832, allocations: 27.83 kB / 333 MB, free: 6.957 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.00885, allocations: 4 kB / 333 MB, free: 6.953 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.733e-05/0.008917, allocations: 4 kB / 333 MB, free: 6.949 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.008938, allocations: 15.92 kB / 333 MB, free: 6.934 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.008943, allocations: 4 kB / 333 MB, free: 6.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.158e-05/0.009015, allocations: 143.2 kB / 333.2 MB, free: 6.789 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009015, allocations: 0 / 333.2 MB, free: 6.789 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002331/0.009248, allocations: 59.83 kB / 333.2 MB, free: 6.73 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.0003883/0.009636, allocations: 0.9015 MB / 334.1 MB, free: 5.789 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001769/0.009813, allocations: 127.8 kB / 334.3 MB, free: 5.664 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.009814, allocations: 4 kB / 334.3 MB, free: 5.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.739e-05/0.009862, allocations: 52.73 kB / 334.3 MB, free: 5.609 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.01019, allocations: 39.86 kB / 334.4 MB, free: 5.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.01192, allocations: 2.456 MB / 336.8 MB, free: 2.906 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.778e-05/0.012, allocations: 133.2 kB / 336.9 MB, free: 2.758 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.985e-05/0.01206, allocations: 21.94 kB / 337 MB, free: 2.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.737e-05/0.01213, allocations: 60.48 kB / 337 MB, free: 2.672 MB / 298.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01213, allocations: 0 / 337 MB, free: 2.672 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01671/0.02884, allocations: 4.463 MB / 341.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.732/6.76, allocations: 11 kB / 341.5 MB, free: 14.33 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.398400481790304]