Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001827/0.001827, allocations: 115.6 kB / 18.45 MB, free: 4.566 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.002267/0.002267, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 207.6 MB / 231.8 MB, free: 4.035 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_Rotational_Examples_First",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.First,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_First",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 47.94 kB / 342.3 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1019, allocations: 49.13 MB / 391.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.004064/0.1059, allocations: 2.371 MB / 393.8 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.1071, allocations: 0.6278 MB / 394.4 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.1072, allocations: 15.94 kB / 394.4 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.1074, allocations: 27.66 kB / 394.4 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.1076, allocations: 87.27 kB / 394.5 MB, free: 5.562 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.1078, allocations: 51.92 kB / 394.6 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003395/0.1081, allocations: 266.7 kB / 394.8 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.1083, allocations: 82.73 kB / 394.9 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.1085, allocations: 107.6 kB / 395 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001974/0.1087, allocations: 119.5 kB / 395.1 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.297e-05/0.1088, allocations: 20 kB / 395.2 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.303e-05/0.1088, allocations: 24 kB / 395.2 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.732e-05/0.1089, allocations: 47.78 kB / 395.2 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.109, allocations: 123.3 kB / 395.4 MB, free: 4.734 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000349/0.1094, allocations: 266.9 kB / 395.6 MB, free: 4.473 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.1094, allocations: 0 / 395.6 MB, free: 4.473 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1094, allocations: 0 / 395.6 MB, free: 4.473 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.1094, allocations: 0 / 395.6 MB, free: 4.473 MB / 318.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.000852/0.1102, allocations: 0.5338 MB / 396.1 MB, free: 3.891 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.1103, allocations: 11.89 kB / 396.2 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.625e-05/0.1103, allocations: 58.72 kB / 396.2 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.696e-05/0.1104, allocations: 28.75 kB / 396.2 MB, free: 3.785 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.1108, allocations: 241.7 kB / 396.5 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.1108, allocations: 16.81 kB / 396.5 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.376e-05/0.1109, allocations: 28.33 kB / 396.5 MB, free: 3.469 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003899/0.1113, allocations: 199.3 kB / 396.7 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.1113, allocations: 0 / 396.7 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.1113, allocations: 12 kB / 396.7 MB, free: 3.254 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.1113, allocations: 4 kB / 396.7 MB, free: 3.25 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002928/0.1116, allocations: 141.7 kB / 396.9 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.1127, allocations: 0.6193 MB / 397.5 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.113, allocations: 170.5 kB / 397.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.1132, allocations: 92.81 kB / 397.8 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.1132, allocations: 3.938 kB / 397.8 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.1132, allocations: 38.56 kB / 397.8 MB, free: 2.121 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.552e-06/0.1132, allocations: 0 / 397.8 MB, free: 2.121 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.002067/0.1153, allocations: 1.072 MB / 398.9 MB, free: 0.957 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.1153, allocations: 59.34 kB / 398.9 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.1155, allocations: 183.1 kB / 399.1 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.1156, allocations: 33.7 kB / 399.1 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.448e-05/0.1156, allocations: 136.9 kB / 399.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.643e-05/0.1157, allocations: 119 kB / 399.4 MB, free: 416 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-05/0.1158, allocations: 53.7 kB / 399.4 MB, free: 356 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.116, allocations: 334.8 kB / 399.8 MB, free: 12 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.1161, allocations: 68.05 kB / 399.8 MB, free: 15.94 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.1163, allocations: 110.8 kB / 399.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003473/0.1167, allocations: 192.7 kB / 400.1 MB, free: 15.63 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1167, allocations: 0 / 400.1 MB, free: 15.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005336/0.1172, allocations: 294.1 kB / 400.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.1172, allocations: 8 kB / 400.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.1172, allocations: 3.984 kB / 400.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001911/0.1174, allocations: 40.84 kB / 400.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002527/0.1177, allocations: 59.91 kB / 400.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001659/0.1193, allocations: 1.736 MB / 402.3 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.1195, allocations: 11.97 kB / 402.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.1195, allocations: 8 kB / 402.3 MB, free: 13.33 MB / 334.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.000147/0.1196, allocations: 141.8 kB / 402.4 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.793e-05/0.1197, allocations: 27.98 kB / 402.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.802e-05/0.1198, allocations: 34.62 kB / 402.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1198, allocations: 4 kB / 402.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.1198, allocations: 4 kB / 402.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1198, allocations: 0 / 402.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.1209, allocations: 0.7814 MB / 403.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.121, allocations: 0 / 403.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.1212, allocations: 55.91 kB / 403.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001312/0.1214, allocations: 36.92 kB / 403.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.1214, allocations: 15.94 kB / 403.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.1227, allocations: 1.481 MB / 404.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.1227, allocations: 8.016 kB / 404.9 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007226/0.1234, allocations: 486.5 kB / 405.3 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.751e-05/0.1235, allocations: 96.97 kB / 405.4 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.1235, allocations: 4 kB / 405.4 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.1236, allocations: 8.234 kB / 405.4 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.514e-05/0.1237, allocations: 24.02 kB / 405.5 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.1237, allocations: 11.98 kB / 405.5 MB, free: 9.848 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.1239, allocations: 127.2 kB / 405.6 MB, free: 9.723 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1239, allocations: 0 / 405.6 MB, free: 9.723 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004134/0.1243, allocations: 72 kB / 405.7 MB, free: 9.652 MB / 334.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.001099/0.1254, allocations: 1.025 MB / 406.7 MB, free: 8.59 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006769/0.126, allocations: 327.5 kB / 407 MB, free: 8.258 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.126, allocations: 0 / 407 MB, free: 8.258 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003686/0.1264, allocations: 239.1 kB / 407.3 MB, free: 8.012 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004578/0.1269, allocations: 59.73 kB / 407.3 MB, free: 7.953 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/0.1306, allocations: 2.745 MB / 410.1 MB, free: 5.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.131, allocations: 0.76 MB / 410.8 MB, free: 4.301 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.304e-05/0.1311, allocations: 26.22 kB / 410.8 MB, free: 4.277 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.1312, allocations: 75.41 kB / 410.9 MB, free: 4.203 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1312, allocations: 4 kB / 410.9 MB, free: 4.199 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03454/0.1657, allocations: 5.285 MB / 416.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/10.2, allocations: 4 kB / 416.2 MB, free: 14.86 MB / 350.1 MB " [Timeout remaining time 650] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_Rotational_Examples_First.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 12.71303880099731]