Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.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.001922/0.001922, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 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.002381/0.002381, allocations: 213.1 kB / 23.74 MB, free: 4.656 MB / 14.72 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 1.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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.First,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_First",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.First,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_First",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 51.91 kB / 377.8 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2355, allocations: 53.37 MB / 431.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003804/0.2393, allocations: 2.388 MB / 433.5 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.2406, allocations: 0.6582 MB / 434.2 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.2408, allocations: 4 kB / 434.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001723/0.2409, allocations: 39.59 kB / 434.2 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.2411, allocations: 75.33 kB / 434.3 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.2414, allocations: 71.84 kB / 434.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003524/0.2417, allocations: 274.7 kB / 434.6 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002346/0.242, allocations: 79.03 kB / 434.7 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002809/0.2422, allocations: 119.5 kB / 434.8 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.2424, allocations: 119.5 kB / 434.9 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.115e-05/0.2425, allocations: 20 kB / 435 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.507e-05/0.2426, allocations: 24 kB / 435 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.479e-05/0.2426, allocations: 43.84 kB / 435 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.2427, allocations: 127.4 kB / 435.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003833/0.2431, allocations: 272.6 kB / 435.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.2431, allocations: 0 / 435.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2431, allocations: 4 kB / 435.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.2431, allocations: 0 / 435.4 MB, free: 2.547 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008648/0.244, allocations: 465.5 kB / 435.9 MB, free: 2.062 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.244, allocations: 8.031 kB / 435.9 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.002e-05/0.2441, allocations: 58.72 kB / 435.9 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002035/0.2443, allocations: 40.75 kB / 436 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003941/0.2447, allocations: 182.8 kB / 436.2 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.2447, allocations: 16.81 kB / 436.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.04e-05/0.2448, allocations: 28.33 kB / 436.2 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003892/0.2452, allocations: 199.3 kB / 436.4 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.2452, allocations: 0 / 436.4 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.2452, allocations: 8 kB / 436.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.2452, allocations: 8 kB / 436.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002976/0.2455, allocations: 137.7 kB / 436.6 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.2466, allocations: 0.6026 MB / 437.2 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/0.2469, allocations: 162.5 kB / 437.3 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.2471, allocations: 99.61 kB / 437.4 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.2472, allocations: 7.984 kB / 437.4 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.2472, allocations: 34.56 kB / 437.5 MB, free: 396 kB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.613e-06/0.2472, allocations: 0 / 437.5 MB, free: 396 kB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001987/0.2492, allocations: 0.922 MB / 438.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.2492, allocations: 59.34 kB / 438.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.2494, allocations: 183.2 kB / 438.6 MB, free: 15.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.2494, allocations: 29.7 kB / 438.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.2495, allocations: 144.8 kB / 438.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.452e-05/0.2496, allocations: 115 kB / 438.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.138e-05/0.2497, allocations: 57.7 kB / 438.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.2499, allocations: 330.8 kB / 439.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.25, allocations: 75.91 kB / 439.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.2502, allocations: 103.8 kB / 439.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.2505, allocations: 201 kB / 439.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2505, allocations: 0 / 439.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005241/0.251, allocations: 291.2 kB / 439.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.2511, allocations: 4 kB / 439.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2511, allocations: 4 kB / 439.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001973/0.2513, allocations: 40.83 kB / 440 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002603/0.2515, allocations: 59.97 kB / 440 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/0.2532, allocations: 1.637 MB / 441.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.2533, allocations: 8 kB / 441.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.2533, allocations: 19.92 kB / 441.7 MB, free: 11.9 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.2535, allocations: 133.8 kB / 441.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.199e-05/0.2535, allocations: 27.8 kB / 441.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.071e-05/0.2536, allocations: 30.84 kB / 441.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2536, allocations: 12 kB / 441.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.2536, allocations: 4 kB / 441.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.2536, allocations: 3.984 kB / 441.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.2548, allocations: 0.7462 MB / 442.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2548, allocations: 4 kB / 442.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002753/0.2551, allocations: 59.91 kB / 442.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001234/0.2552, allocations: 32.83 kB / 442.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.2552, allocations: 8 kB / 442.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/0.2564, allocations: 1.393 MB / 444.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2565, allocations: 4.031 kB / 444.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007252/0.2572, allocations: 486.9 kB / 444.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.785e-05/0.2572, allocations: 23.89 kB / 444.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.2573, allocations: 8 kB / 444.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.2574, allocations: 8 kB / 444.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.2575, allocations: 31.89 kB / 444.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.2575, allocations: 4 kB / 444.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001184/0.2576, allocations: 136.4 kB / 444.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2576, allocations: 0 / 444.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003879/0.258, allocations: 68 kB / 444.9 MB, free: 8.469 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.001067/0.259, allocations: 1.016 MB / 445.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006521/0.2597, allocations: 330.8 kB / 446.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2597, allocations: 0 / 446.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003568/0.2601, allocations: 234.5 kB / 446.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/0.2605, allocations: 43.91 kB / 446.5 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003731/0.2642, allocations: 2.757 MB / 449.3 MB, free: 3.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.2646, allocations: 0.7486 MB / 450 MB, free: 3.148 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.307e-05/0.2647, allocations: 30.27 kB / 450 MB, free: 3.121 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.2648, allocations: 79.41 kB / 450.1 MB, free: 3.043 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2648, allocations: 7.875 kB / 450.1 MB, free: 3.035 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.037/0.3018, allocations: 5.562 MB / 455.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.87, allocations: 3.984 kB / 455.7 MB, free: 13.61 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First_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_First.fmu > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.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.410558840001613]