Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.001277/0.001277, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.001052/0.001052, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.8825/0.8825, allocations: 177 MB / 204.1 MB, free: 5.75 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.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 324.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.291e-05/2.472e-05, allocations: 3.125 kB / 324.5 MB, free: 15.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002748/0.002772, allocations: 2.264 MB / 326.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000857/0.003629, allocations: 0.6193 MB / 327.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.003735, allocations: 7.938 kB / 327.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.00387, allocations: 31.66 kB / 327.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.00398, allocations: 75.28 kB / 327.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.004223, allocations: 71.78 kB / 327.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005275/0.004751, allocations: 274.6 kB / 327.8 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.004961, allocations: 60.52 kB / 327.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002258/0.005187, allocations: 159.7 kB / 328.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.00529, allocations: 71.78 kB / 328.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.005315, allocations: 16 kB / 328.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.988e-05/0.005364, allocations: 27.98 kB / 328.2 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.837e-05/0.005393, allocations: 47.77 kB / 328.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.396e-05/0.005447, allocations: 79.83 kB / 328.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.005697, allocations: 267 kB / 328.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.005701, allocations: 4 kB / 328.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.005702, allocations: 0 / 328.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.005707, allocations: 0 / 328.6 MB, free: 11.7 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005719/0.006279, allocations: 449.7 kB / 329 MB, free: 11.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.006328, allocations: 11.98 kB / 329 MB, free: 11.22 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.436e-05/0.006382, allocations: 54.73 kB / 329.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001559/0.006538, allocations: 32.78 kB / 329.1 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.006878, allocations: 182.1 kB / 329.3 MB, free: 10.92 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.006897, allocations: 12.88 kB / 329.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.987e-05/0.006937, allocations: 28.31 kB / 329.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.007248, allocations: 211.4 kB / 329.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.007266, allocations: 4.141 kB / 329.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.007288, allocations: 16.12 kB / 329.5 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.007297, allocations: 4 kB / 329.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.007479, allocations: 121.9 kB / 329.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008356/0.008314, allocations: 0.6308 MB / 330.3 MB, free: 9.844 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.008536, allocations: 134.4 kB / 330.4 MB, free: 9.703 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.705e-05/0.008623, allocations: 72.77 kB / 330.5 MB, free: 9.629 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.008643, allocations: 4 kB / 330.5 MB, free: 9.625 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.008665, allocations: 30.56 kB / 330.5 MB, free: 9.586 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 2.484e-06/0.008668, allocations: 0 / 330.5 MB, free: 9.586 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.001137/0.009805, allocations: 0.7492 MB / 331.3 MB, free: 8.781 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.009847, allocations: 59.34 kB / 331.3 MB, free: 8.711 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.009987, allocations: 176.7 kB / 331.5 MB, free: 8.523 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.01, allocations: 29.7 kB / 331.5 MB, free: 8.488 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.961e-05/0.01008, allocations: 148.4 kB / 331.7 MB, free: 8.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.95e-05/0.01013, allocations: 91.22 kB / 331.8 MB, free: 8.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.01018, allocations: 45.7 kB / 331.8 MB, free: 8.199 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.636e-05/0.01028, allocations: 326.8 kB / 332.1 MB, free: 7.871 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.21e-05/0.01036, allocations: 63.89 kB / 332.2 MB, free: 7.809 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.756e-05/0.01046, allocations: 100.2 kB / 332.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.01064, allocations: 164.1 kB / 332.4 MB, free: 7.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.01065, allocations: 8 kB / 332.5 MB, free: 7.512 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002925/0.01094, allocations: 254 kB / 332.7 MB, free: 7.254 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.01095, allocations: 7.281 kB / 332.7 MB, free: 7.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.01096, allocations: 128 / 332.7 MB, free: 7.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001306/0.01109, allocations: 44.83 kB / 332.8 MB, free: 7.203 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.01123, allocations: 47.91 kB / 332.8 MB, free: 7.156 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009166/0.01215, allocations: 1.366 MB / 334.2 MB, free: 5.668 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.03e-05/0.01222, allocations: 11.97 kB / 334.2 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.01223, allocations: 8 kB / 334.2 MB, free: 5.648 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.01233, allocations: 137.8 kB / 334.3 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.01236, allocations: 23.86 kB / 334.3 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.015e-05/0.01239, allocations: 25.95 kB / 334.4 MB, free: 5.457 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.01239, allocations: 0 / 334.4 MB, free: 5.457 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.01239, allocations: 4 kB / 334.4 MB, free: 5.453 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.0124, allocations: 4.078 kB / 334.4 MB, free: 5.449 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008192/0.01322, allocations: 0.6044 MB / 335 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.01322, allocations: 4 kB / 335 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.01335, allocations: 43.97 kB / 335 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.101e-05/0.01344, allocations: 28.84 kB / 335.1 MB, free: 4.703 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.01345, allocations: 8 kB / 335.1 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008459/0.0143, allocations: 1.385 MB / 336.5 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.0143, allocations: 4.094 kB / 336.5 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004298/0.01473, allocations: 401.1 kB / 336.8 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.055e-05/0.01476, allocations: 19.86 kB / 336.9 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.01478, allocations: 4 kB / 336.9 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.636e-05/0.01484, allocations: 8 kB / 336.9 MB, free: 2.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.0149, allocations: 19.91 kB / 336.9 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.01491, allocations: 15.92 kB / 336.9 MB, free: 2.715 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.451e-05/0.01499, allocations: 124.1 kB / 337 MB, free: 2.594 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01499, allocations: 4 kB / 337 MB, free: 2.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002414/0.01523, allocations: 60 kB / 337.1 MB, free: 2.531 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005827/0.01581, allocations: 0.9298 MB / 338 MB, free: 1.562 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004037/0.01621, allocations: 282.7 kB / 338.3 MB, free: 1.273 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01622, allocations: 0 / 338.3 MB, free: 1.273 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.01638, allocations: 206.6 kB / 338.5 MB, free: 1.059 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.0167, allocations: 48.28 kB / 338.6 MB, free: 1.016 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.01878, allocations: 2.46 MB / 341 MB, free: 14.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.787e-05/0.01888, allocations: 134.5 kB / 341.1 MB, free: 14.28 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.227e-05/0.01894, allocations: 21.95 kB / 341.2 MB, free: 14.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.236e-05/0.01903, allocations: 68.47 kB / 341.2 MB, free: 14.19 MB / 314.7 MB Notification: Performance of SimCode: time 1.303e-06/0.01903, allocations: 0 / 341.2 MB, free: 14.19 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/0.04139, allocations: 5.611 MB / 346.8 MB, free: 8.711 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.997/7.038, allocations: 2.5 kB / 346.8 MB, free: 8.711 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_FirstGrounded.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.752226451411843]