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.001074/0.001074, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0009309/0.0009309, allocations: 173.9 kB / 23.95 MB, free: 0.6172 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.8754/0.8754, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.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 1.503e-06/1.503e-06, allocations: 0 / 324.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089e-05/1.239e-05, allocations: 2.281 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002198/0.00221, allocations: 2.256 MB / 326.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007164/0.002926, allocations: 0.6232 MB / 327.4 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.515e-05/0.003022, allocations: 7.938 kB / 327.4 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.003135, allocations: 35.66 kB / 327.5 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.003247, allocations: 83.22 kB / 327.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.003444, allocations: 71.77 kB / 327.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.003654, allocations: 286.6 kB / 327.9 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.003797, allocations: 75.23 kB / 328 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.003979, allocations: 171.6 kB / 328.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.24e-05/0.004071, allocations: 75.72 kB / 328.2 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.004096, allocations: 20 kB / 328.2 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.864e-05/0.004145, allocations: 31.98 kB / 328.3 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.69e-05/0.004172, allocations: 47.83 kB / 328.3 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.406e-05/0.004226, allocations: 83.77 kB / 328.4 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.004453, allocations: 271.1 kB / 328.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.004455, allocations: 0 / 328.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004456, allocations: 0 / 328.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.00446, allocations: 3.938 kB / 328.7 MB, free: 11.81 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.000711/0.005171, allocations: 472.5 kB / 329.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.005205, allocations: 8.031 kB / 329.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.096e-05/0.005246, allocations: 58.72 kB / 329.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.005352, allocations: 32.75 kB / 329.2 MB, free: 11.22 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.005582, allocations: 182.1 kB / 329.4 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.005598, allocations: 16.88 kB / 329.4 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.631e-05/0.005634, allocations: 32.31 kB / 329.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.00586, allocations: 196.6 kB / 329.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.005872, allocations: 192 / 329.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.005888, allocations: 16.12 kB / 329.7 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.005894, allocations: 4 kB / 329.7 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.006065, allocations: 141.9 kB / 329.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005875/0.006652, allocations: 0.5445 MB / 330.3 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.006854, allocations: 178.2 kB / 330.5 MB, free: 9.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.897e-05/0.006953, allocations: 84.83 kB / 330.6 MB, free: 9.754 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.006969, allocations: 4 kB / 330.6 MB, free: 9.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.006988, allocations: 38.56 kB / 330.6 MB, free: 9.703 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.563e-06/0.00699, allocations: 0 / 330.6 MB, free: 9.703 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001158/0.008148, allocations: 0.9148 MB / 331.6 MB, free: 8.738 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.008177, allocations: 59.33 kB / 331.6 MB, free: 8.668 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.008293, allocations: 192 kB / 331.8 MB, free: 8.469 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.008309, allocations: 33.7 kB / 331.8 MB, free: 8.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.549e-05/0.008374, allocations: 144.8 kB / 332 MB, free: 8.285 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.123e-05/0.008426, allocations: 115 kB / 332.1 MB, free: 8.172 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.301e-05/0.008479, allocations: 57.45 kB / 332.2 MB, free: 8.109 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.223e-05/0.008561, allocations: 342.8 kB / 332.5 MB, free: 7.766 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.457e-05/0.008645, allocations: 63.97 kB / 332.5 MB, free: 7.703 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.008747, allocations: 107.2 kB / 332.7 MB, free: 7.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.008944, allocations: 201 kB / 332.8 MB, free: 7.387 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.008944, allocations: 0 / 332.8 MB, free: 7.387 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002901/0.009235, allocations: 287.3 kB / 333.1 MB, free: 7.098 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.009246, allocations: 4 kB / 333.1 MB, free: 7.094 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.009251, allocations: 7.875 kB / 333.1 MB, free: 7.086 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001243/0.009375, allocations: 48.89 kB / 333.2 MB, free: 7.035 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.009511, allocations: 55.97 kB / 333.2 MB, free: 6.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000936/0.01045, allocations: 1.633 MB / 334.9 MB, free: 5.234 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.899e-05/0.01051, allocations: 8.031 kB / 334.9 MB, free: 5.227 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.01052, allocations: 12 kB / 334.9 MB, free: 5.215 MB / 298.7 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 8.891e-05/0.01061, allocations: 141.8 kB / 335 MB, free: 5.066 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.01063, allocations: 23.84 kB / 335.1 MB, free: 5.043 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.01066, allocations: 34.59 kB / 335.1 MB, free: 5.008 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01066, allocations: 4 kB / 335.1 MB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.01067, allocations: 0 / 335.1 MB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.01067, allocations: 7.984 kB / 335.1 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006455/0.01132, allocations: 0.7145 MB / 335.8 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01132, allocations: 3.938 kB / 335.8 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.01146, allocations: 63.91 kB / 335.9 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.541e-05/0.01152, allocations: 28.84 kB / 335.9 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.01154, allocations: 11.98 kB / 335.9 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009058/0.01244, allocations: 1.382 MB / 337.3 MB, free: 2.609 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01244, allocations: 4 kB / 337.3 MB, free: 2.605 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003934/0.01284, allocations: 479.4 kB / 337.8 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.933e-05/0.01286, allocations: 23.8 kB / 337.8 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.01287, allocations: 8.031 kB / 337.8 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.577e-05/0.01294, allocations: 8 kB / 337.8 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.01298, allocations: 23.95 kB / 337.8 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.01299, allocations: 12 kB / 337.9 MB, free: 2.035 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.743e-05/0.01305, allocations: 136.5 kB / 338 MB, free: 1.902 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01305, allocations: 0 / 338 MB, free: 1.902 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002307/0.01328, allocations: 64 kB / 338 MB, free: 1.84 MB / 298.7 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.0005905/0.01387, allocations: 1.012 MB / 339.1 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003868/0.01426, allocations: 342.6 kB / 339.4 MB, free: 448 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01426, allocations: 0 / 339.4 MB, free: 448 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.01444, allocations: 238.5 kB / 339.6 MB, free: 196 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.01472, allocations: 39.92 kB / 339.7 MB, free: 156 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/0.01707, allocations: 2.654 MB / 342.3 MB, free: 13.38 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.218e-05/0.01716, allocations: 154.7 kB / 342.5 MB, free: 13.2 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.723e-05/0.01722, allocations: 22.28 kB / 342.5 MB, free: 13.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.686e-05/0.01731, allocations: 76.47 kB / 342.6 MB, free: 13.11 MB / 314.7 MB Notification: Performance of SimCode: time 6.42e-07/0.01731, allocations: 0 / 342.6 MB, free: 13.11 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01883/0.03614, allocations: 6.141 MB / 348.7 MB, free: 7.121 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.03/7.066, allocations: 15.97 kB / 348.7 MB, free: 7.105 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins/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: 8.77954487502575]