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.0013/0.0013, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.001415/0.001415, allocations: 206.3 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.436/1.436, allocations: 230.5 MB / 257.4 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001967/0.001967, allocations: 67.88 kB / 377.7 MB, free: 2.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2439, allocations: 53.41 MB / 431.1 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.004264/0.2482, allocations: 2.24 MB / 433.4 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.2496, allocations: 0.6232 MB / 434 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002378/0.2498, allocations: 7.938 kB / 434 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001707/0.25, allocations: 31.66 kB / 434 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002111/0.2502, allocations: 75.34 kB / 434.1 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.2505, allocations: 67.84 kB / 434.2 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003698/0.2509, allocations: 258.8 kB / 434.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.2511, allocations: 64.3 kB / 434.5 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002502/0.2513, allocations: 115.6 kB / 434.6 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.2515, allocations: 91.48 kB / 434.7 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.735e-05/0.2515, allocations: 16 kB / 434.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.313e-05/0.2516, allocations: 32 kB / 434.7 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.878e-05/0.2517, allocations: 43.83 kB / 434.8 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.2518, allocations: 99.53 kB / 434.9 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003826/0.2522, allocations: 256.7 kB / 435.1 MB, free: 2.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2522, allocations: 0 / 435.1 MB, free: 2.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2522, allocations: 0 / 435.1 MB, free: 2.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.2522, allocations: 0 / 435.1 MB, free: 2.43 MB / 334.1 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.0007586/0.2529, allocations: 457.5 kB / 435.6 MB, free: 1.953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.253, allocations: 15.97 kB / 435.6 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.274e-05/0.253, allocations: 58.73 kB / 435.7 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.2532, allocations: 36.78 kB / 435.7 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.2536, allocations: 178.9 kB / 435.9 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.2536, allocations: 12.81 kB / 435.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.618e-05/0.2536, allocations: 28.36 kB / 435.9 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003812/0.254, allocations: 210 kB / 436.1 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/0.254, allocations: 11.89 kB / 436.1 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.2541, allocations: 8 kB / 436.1 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.2541, allocations: 8 kB / 436.1 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000274/0.2543, allocations: 121.7 kB / 436.3 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.2554, allocations: 0.6306 MB / 436.9 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.2557, allocations: 138.5 kB / 437 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.2558, allocations: 68.81 kB / 437.1 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.378e-05/0.2559, allocations: 4 kB / 437.1 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.2559, allocations: 34.56 kB / 437.1 MB, free: 300 kB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.893e-06/0.2559, allocations: 8 kB / 437.1 MB, free: 292 kB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001666/0.2576, allocations: 0.7421 MB / 437.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.2576, allocations: 59.34 kB / 437.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.2578, allocations: 176.1 kB / 438.1 MB, free: 15.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.2579, allocations: 33.7 kB / 438.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.258, allocations: 144.4 kB / 438.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.272e-05/0.258, allocations: 95.22 kB / 438.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.428e-05/0.2581, allocations: 45.7 kB / 438.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.2583, allocations: 330.8 kB / 438.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.2584, allocations: 55.97 kB / 438.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.2586, allocations: 100.2 kB / 438.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.2589, allocations: 168.1 kB / 439.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2589, allocations: 8 kB / 439.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004844/0.2594, allocations: 250.1 kB / 439.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.2594, allocations: 4 kB / 439.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.2594, allocations: 7.984 kB / 439.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000174/0.2596, allocations: 28.84 kB / 439.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.2598, allocations: 51.91 kB / 439.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.2612, allocations: 1.373 MB / 440.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.2613, allocations: 12.03 kB / 440.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.2613, allocations: 8 kB / 440.8 MB, free: 12.36 MB / 350.1 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.000145/0.2615, allocations: 141.7 kB / 440.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.493e-05/0.2615, allocations: 19.86 kB / 440.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.539e-05/0.2616, allocations: 25.95 kB / 441 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.2616, allocations: 12 kB / 441 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2616, allocations: 0 / 441 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2616, allocations: 0 / 441 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009678/0.2625, allocations: 0.5965 MB / 441.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2625, allocations: 0 / 441.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.2628, allocations: 47.91 kB / 441.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001179/0.2629, allocations: 36.91 kB / 441.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.2629, allocations: 7.984 kB / 441.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001266/0.2642, allocations: 1.381 MB / 443.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2642, allocations: 0 / 443.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006042/0.2648, allocations: 398.2 kB / 443.4 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.2648, allocations: 23.92 kB / 443.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.2648, allocations: 8 kB / 443.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.2649, allocations: 3.938 kB / 443.5 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.265, allocations: 27.94 kB / 443.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.265, allocations: 4 kB / 443.5 MB, free: 9.426 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.2651, allocations: 129.2 kB / 443.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2651, allocations: 0 / 443.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003451/0.2655, allocations: 60 kB / 443.7 MB, free: 9.242 MB / 350.1 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.0009439/0.2664, allocations: 0.9456 MB / 444.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006075/0.267, allocations: 274.5 kB / 444.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.267, allocations: 0 / 444.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003558/0.2674, allocations: 210.5 kB / 445.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004909/0.2679, allocations: 39.92 kB / 445.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003703/0.2716, allocations: 2.547 MB / 447.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001702/0.2717, allocations: 142.4 kB / 447.8 MB, free: 4.895 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.099e-05/0.2718, allocations: 21.94 kB / 447.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.272, allocations: 67.41 kB / 447.9 MB, free: 4.809 MB / 350.1 MB Notification: Performance of SimCode: time 8.02e-07/0.272, allocations: 0 / 447.9 MB, free: 4.809 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03865/0.3106, allocations: 5.462 MB / 453.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.93, allocations: 6.734 kB / 453.4 MB, free: 15.48 MB / 366.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/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: 14.34693229617551]