Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.0008521/0.0008521, 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.0008011/0.0008011, 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.8744/0.8744, allocations: 177.1 MB / 204.3 MB, free: 5.703 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.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 324.5 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.588e-05/1.756e-05, allocations: 12.89 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002113/0.002131, allocations: 2.244 MB / 326.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006941/0.002825, allocations: 0.627 MB / 327.4 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.205e-05/0.002917, allocations: 11.94 kB / 327.4 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.00303, allocations: 35.66 kB / 327.5 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.773e-05/0.003128, allocations: 75.28 kB / 327.6 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.003327, allocations: 75.77 kB / 327.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.003523, allocations: 274.6 kB / 327.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.003651, allocations: 60.5 kB / 328 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.003826, allocations: 155.6 kB / 328.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.978e-05/0.003916, allocations: 75.78 kB / 328.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.003939, allocations: 20 kB / 328.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.556e-05/0.003985, allocations: 20 kB / 328.2 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.783e-05/0.004012, allocations: 51.77 kB / 328.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.178e-05/0.004064, allocations: 79.83 kB / 328.3 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.004272, allocations: 255.1 kB / 328.6 MB, free: 11.87 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.004275, allocations: 8 kB / 328.6 MB, free: 11.86 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004276, allocations: 0 / 328.6 MB, free: 11.86 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.556e-06/0.00428, allocations: 0 / 328.6 MB, free: 11.86 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.0007058/0.004985, allocations: 456.8 kB / 329.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.005021, allocations: 8.031 kB / 329.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.035e-05/0.005062, allocations: 58.73 kB / 329.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.005176, allocations: 32.78 kB / 329.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.005379, allocations: 186.1 kB / 329.3 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.005392, allocations: 12.88 kB / 329.3 MB, free: 11.06 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.005422, allocations: 24.38 kB / 329.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.005652, allocations: 207.4 kB / 329.6 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.005665, allocations: 4.141 kB / 329.6 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.00568, allocations: 20.06 kB / 329.6 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.005685, allocations: 4 kB / 329.6 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.005841, allocations: 121.9 kB / 329.7 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006346/0.006476, allocations: 0.6309 MB / 330.3 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.006655, allocations: 138.4 kB / 330.5 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.947e-05/0.006735, allocations: 68.81 kB / 330.5 MB, free: 9.785 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.006751, allocations: 4 kB / 330.6 MB, free: 9.781 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.00677, allocations: 34.55 kB / 330.6 MB, free: 9.738 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.203e-06/0.006771, allocations: 0 / 330.6 MB, free: 9.738 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009703/0.007741, allocations: 0.7439 MB / 331.3 MB, free: 8.941 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.00777, allocations: 55.34 kB / 331.4 MB, free: 8.875 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.007882, allocations: 176.4 kB / 331.6 MB, free: 8.688 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.007896, allocations: 33.7 kB / 331.6 MB, free: 8.648 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.322e-05/0.007959, allocations: 144.4 kB / 331.7 MB, free: 8.504 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.429e-05/0.008003, allocations: 91.22 kB / 331.8 MB, free: 8.414 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.755e-05/0.008051, allocations: 45.7 kB / 331.9 MB, free: 8.363 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.387e-05/0.008125, allocations: 326.8 kB / 332.2 MB, free: 8.035 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.636e-05/0.008201, allocations: 59.97 kB / 332.2 MB, free: 7.977 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.891e-05/0.0083, allocations: 108.2 kB / 332.3 MB, free: 7.855 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.008474, allocations: 172.7 kB / 332.5 MB, free: 7.672 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.008475, allocations: 0 / 332.5 MB, free: 7.672 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002645/0.008739, allocations: 250.1 kB / 332.8 MB, free: 7.418 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.008752, allocations: 7.984 kB / 332.8 MB, free: 7.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.008757, allocations: 4 kB / 332.8 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001108/0.008868, allocations: 36.83 kB / 332.8 MB, free: 7.367 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.008991, allocations: 55.84 kB / 332.9 MB, free: 7.312 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007618/0.009753, allocations: 1.366 MB / 334.2 MB, free: 5.824 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.899e-05/0.009812, allocations: 16.12 kB / 334.2 MB, free: 5.809 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.689e-06/0.009821, allocations: 12 kB / 334.3 MB, free: 5.797 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 8.356e-05/0.009905, allocations: 137.8 kB / 334.4 MB, free: 5.652 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.009927, allocations: 19.86 kB / 334.4 MB, free: 5.633 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.759e-05/0.009955, allocations: 25.95 kB / 334.4 MB, free: 5.609 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.009956, allocations: 0 / 334.4 MB, free: 5.609 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.009959, allocations: 4 kB / 334.4 MB, free: 5.605 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.009963, allocations: 3.938 kB / 334.4 MB, free: 5.602 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00055/0.01051, allocations: 0.5933 MB / 335 MB, free: 4.945 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01051, allocations: 4 kB / 335 MB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.01063, allocations: 47.91 kB / 335.1 MB, free: 4.895 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.756e-05/0.0107, allocations: 32.84 kB / 335.1 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.01071, allocations: 8.125 kB / 335.1 MB, free: 4.852 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009046/0.01161, allocations: 1.385 MB / 336.5 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01161, allocations: 0 / 336.5 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.01194, allocations: 401 kB / 336.9 MB, free: 2.941 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.01196, allocations: 19.86 kB / 336.9 MB, free: 2.922 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.01197, allocations: 4 kB / 336.9 MB, free: 2.918 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.108e-05/0.01204, allocations: 12.03 kB / 336.9 MB, free: 2.906 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.01207, allocations: 20.03 kB / 337 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.01208, allocations: 8 kB / 337 MB, free: 2.879 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.015e-05/0.01214, allocations: 125.2 kB / 337.1 MB, free: 2.758 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01214, allocations: 0 / 337.1 MB, free: 2.758 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001977/0.01234, allocations: 60 kB / 337.1 MB, free: 2.699 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.0005004/0.01284, allocations: 0.9449 MB / 338.1 MB, free: 1.719 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003426/0.01318, allocations: 274.6 kB / 338.4 MB, free: 1.438 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01318, allocations: 0 / 338.4 MB, free: 1.438 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.01334, allocations: 206.5 kB / 338.6 MB, free: 1.223 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.01361, allocations: 44.3 kB / 338.6 MB, free: 1.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.01625, allocations: 2.463 MB / 341.1 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.01637, allocations: 138.5 kB / 341.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.801e-05/0.01643, allocations: 17.95 kB / 341.2 MB, free: 14.42 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.604e-05/0.01653, allocations: 68.47 kB / 341.3 MB, free: 14.35 MB / 314.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01653, allocations: 0 / 341.3 MB, free: 14.35 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02137/0.0379, allocations: 5.608 MB / 346.9 MB, free: 8.891 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.053/7.091, allocations: 15.31 kB / 346.9 MB, free: 8.883 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Mechanics_Rotational_Examples_FirstGrounded.fmu > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.800658516585827]