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.001393/0.001393, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002158/0.002158, allocations: 212.3 kB / 23.73 MB, free: 4.16 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.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.001587/0.001587, allocations: 47.92 kB / 377.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2417, allocations: 53.36 MB / 431.1 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003799/0.2455, allocations: 2.252 MB / 433.3 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.2467, allocations: 0.627 MB / 434 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.2469, allocations: 4 kB / 434 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001549/0.247, allocations: 39.59 kB / 434 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.2472, allocations: 75.34 kB / 434.1 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.2475, allocations: 71.84 kB / 434.1 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000335/0.2478, allocations: 266.7 kB / 434.4 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.248, allocations: 71.03 kB / 434.5 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000237/0.2482, allocations: 123.6 kB / 434.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.2484, allocations: 99.42 kB / 434.7 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.572e-05/0.2484, allocations: 24 kB / 434.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.295e-05/0.2485, allocations: 20 kB / 434.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.302e-05/0.2486, allocations: 51.83 kB / 434.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.2487, allocations: 103.5 kB / 434.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003756/0.2491, allocations: 276.6 kB / 435.2 MB, free: 2.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2491, allocations: 4 kB / 435.2 MB, free: 2.516 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2491, allocations: 0 / 435.2 MB, free: 2.516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.2491, allocations: 0 / 435.2 MB, free: 2.516 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.0008375/0.2499, allocations: 468.2 kB / 435.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.25, allocations: 12.03 kB / 435.6 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.65e-05/0.2501, allocations: 54.72 kB / 435.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.2502, allocations: 36.75 kB / 435.7 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004448/0.2507, allocations: 190.8 kB / 435.9 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.2507, allocations: 16.81 kB / 435.9 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.138e-05/0.2507, allocations: 28.33 kB / 435.9 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003709/0.2511, allocations: 191.4 kB / 436.1 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.2511, allocations: 4 kB / 436.1 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.2511, allocations: 8 kB / 436.1 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.2511, allocations: 4 kB / 436.1 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002894/0.2514, allocations: 137.7 kB / 436.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009754/0.2524, allocations: 0.552 MB / 436.8 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.2527, allocations: 173 kB / 437 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.2529, allocations: 88.81 kB / 437.1 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.2529, allocations: 4 kB / 437.1 MB, free: 468 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.253, allocations: 34.56 kB / 437.1 MB, free: 424 kB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.353e-06/0.253, allocations: 0 / 437.1 MB, free: 424 kB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001902/0.2549, allocations: 0.9215 MB / 438 MB, free: 15.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.2549, allocations: 63.33 kB / 438.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.2551, allocations: 183.2 kB / 438.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/0.2551, allocations: 33.64 kB / 438.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.2552, allocations: 148.8 kB / 438.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.2553, allocations: 115 kB / 438.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.368e-05/0.2554, allocations: 49.7 kB / 438.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.2556, allocations: 338.8 kB / 439 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.2558, allocations: 71.97 kB / 439 MB, free: 14.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.2559, allocations: 111.8 kB / 439.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/0.2563, allocations: 189 kB / 439.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2563, allocations: 0 / 439.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000537/0.2568, allocations: 295.2 kB / 439.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.2569, allocations: 7.984 kB / 439.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.2569, allocations: 4 kB / 439.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001844/0.2571, allocations: 40.84 kB / 439.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.2573, allocations: 63.84 kB / 439.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/0.259, allocations: 1.621 MB / 441.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.2591, allocations: 16.11 kB / 441.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.2591, allocations: 8 kB / 441.4 MB, free: 11.93 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.0001456/0.2593, allocations: 137.8 kB / 441.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/0.2593, allocations: 27.8 kB / 441.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.017e-05/0.2594, allocations: 26.66 kB / 441.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.2594, allocations: 4 kB / 441.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.2594, allocations: 0 / 441.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.2594, allocations: 3.984 kB / 441.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.2606, allocations: 0.7308 MB / 442.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.2606, allocations: 4 kB / 442.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.2608, allocations: 55.91 kB / 442.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001202/0.2609, allocations: 44.81 kB / 442.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.2609, allocations: 4 kB / 442.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/0.2622, allocations: 1.381 MB / 443.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.2622, allocations: 4.031 kB / 443.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007416/0.2629, allocations: 487.4 kB / 444.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.263, allocations: 19.89 kB / 444.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.263, allocations: 8 kB / 444.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.2631, allocations: 12.06 kB / 444.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.2632, allocations: 27.89 kB / 444.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.2632, allocations: 8 kB / 444.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.2633, allocations: 132.4 kB / 444.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2633, allocations: 4 kB / 444.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003705/0.2637, allocations: 68 kB / 444.5 MB, free: 8.535 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.001072/0.2648, allocations: 1.012 MB / 445.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006185/0.2654, allocations: 334.6 kB / 445.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2654, allocations: 0 / 445.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003448/0.2657, allocations: 234.5 kB / 446.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.2662, allocations: 51.92 kB / 446.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003637/0.2698, allocations: 2.756 MB / 448.9 MB, free: 3.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/0.27, allocations: 150.7 kB / 449.1 MB, free: 3.809 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.509e-05/0.2701, allocations: 26.28 kB / 449.1 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.2702, allocations: 75.41 kB / 449.2 MB, free: 3.711 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2702, allocations: 0 / 449.2 MB, free: 3.711 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04883/0.319, allocations: 5.989 MB / 455.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.92, allocations: 4 kB / 455.2 MB, free: 13.89 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.465777526143938]