Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 122.4 kB / 17.74 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 186.9 kB / 20.68 MB, free: 2.293 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 222.9 MB / 246.4 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 47.92 kB / 357.5 MB, free: 8.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1045, allocations: 49.45 MB / 406.9 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.00394/0.1085, allocations: 2.427 MB / 409.3 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.1096, allocations: 0.5726 MB / 409.9 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.1097, allocations: 8 kB / 409.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001591/0.1099, allocations: 39.58 kB / 410 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.11, allocations: 59.36 kB / 410 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.1103, allocations: 63.92 kB / 410.1 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003714/0.1107, allocations: 254.9 kB / 410.3 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.1109, allocations: 97.52 kB / 410.4 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.1111, allocations: 103.6 kB / 410.5 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.1112, allocations: 107.5 kB / 410.6 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.838e-05/0.1113, allocations: 24 kB / 410.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.286e-05/0.1113, allocations: 20 kB / 410.7 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.266e-05/0.1114, allocations: 47.77 kB / 410.7 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.1115, allocations: 115.5 kB / 410.8 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003239/0.1118, allocations: 254.9 kB / 411.1 MB, free: 3.152 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1119, allocations: 0 / 411.1 MB, free: 3.152 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1119, allocations: 3.938 kB / 411.1 MB, free: 3.148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1119, allocations: 0 / 411.1 MB, free: 3.148 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.0008503/0.1127, allocations: 0.5222 MB / 411.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.1128, allocations: 8.031 kB / 411.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.354e-05/0.1129, allocations: 58.72 kB / 411.7 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.47e-05/0.1129, allocations: 28.75 kB / 411.7 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.1133, allocations: 233.5 kB / 411.9 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.1133, allocations: 12.81 kB / 411.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.657e-05/0.1134, allocations: 28.33 kB / 412 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004114/0.1138, allocations: 225 kB / 412.2 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.1138, allocations: 0 / 412.2 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.1138, allocations: 8 kB / 412.2 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.1139, allocations: 8 kB / 412.2 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/0.1142, allocations: 147.8 kB / 412.4 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.1155, allocations: 0.7833 MB / 413.1 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004837/0.116, allocations: 205 kB / 413.3 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.1163, allocations: 109.7 kB / 413.4 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.1163, allocations: 8.125 kB / 413.5 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.589e-05/0.1164, allocations: 34.5 kB / 413.5 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.983e-06/0.1164, allocations: 0 / 413.5 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001828/0.1182, allocations: 0.8652 MB / 414.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.751e-05/0.1183, allocations: 85.09 kB / 414.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.1185, allocations: 178.3 kB / 414.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.1186, allocations: 33.7 kB / 414.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.1187, allocations: 144.5 kB / 414.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.929e-05/0.1188, allocations: 95.17 kB / 414.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.748e-05/0.1189, allocations: 53.69 kB / 414.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002156/0.1191, allocations: 330.8 kB / 415.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.1193, allocations: 63.97 kB / 415.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.1195, allocations: 116.7 kB / 415.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/0.1198, allocations: 181.4 kB / 415.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1199, allocations: 3.938 kB / 415.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004868/0.1203, allocations: 247.3 kB / 415.9 MB, free: 14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.1204, allocations: 4 kB / 415.9 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.1204, allocations: 0 / 415.9 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.1204, allocations: 11.92 kB / 415.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.1207, allocations: 59.97 kB / 415.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.1207, allocations: 8.328 kB / 415.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.1208, allocations: 11.95 kB / 415.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.1209, allocations: 8 kB / 416 MB, free: 13.9 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001734/0.121, allocations: 145.8 kB / 416.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.913e-05/0.1211, allocations: 19.91 kB / 416.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.084e-05/0.1212, allocations: 25.88 kB / 416.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1212, allocations: 0 / 416.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.1212, allocations: 4 kB / 416.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.1212, allocations: 3.984 kB / 416.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000897/0.1221, allocations: 0.5864 MB / 416.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1221, allocations: 0 / 416.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/0.1224, allocations: 59.91 kB / 416.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1224, allocations: 0 / 416.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.1225, allocations: 11.98 kB / 416.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/0.1225, allocations: 7.938 kB / 416.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.1225, allocations: 3.984 kB / 416.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007094/0.1232, allocations: 497.7 kB / 417.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.922e-05/0.1233, allocations: 101.1 kB / 417.4 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.1233, allocations: 15.92 kB / 417.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.1235, allocations: 15.97 kB / 417.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.1236, allocations: 19.98 kB / 417.5 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.1236, allocations: 11.98 kB / 417.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001375/0.1237, allocations: 132.3 kB / 417.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1237, allocations: 0 / 417.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000342/0.1241, allocations: 48 kB / 417.6 MB, free: 12.09 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.v) * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00124/0.1253, allocations: 1.038 MB / 418.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004598/0.1258, allocations: 175.8 kB / 418.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1258, allocations: 0 / 418.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.126, allocations: 99.78 kB / 418.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005391/0.1266, allocations: 40.22 kB / 419 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003556/0.1301, allocations: 2.639 MB / 421.6 MB, free: 7.941 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.1306, allocations: 0.7479 MB / 422.4 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.1307, allocations: 21.94 kB / 422.4 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.1309, allocations: 75.34 kB / 422.5 MB, free: 7.07 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1309, allocations: 0 / 422.5 MB, free: 7.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02633/0.1572, allocations: 4.399 MB / 426.9 MB, free: 2.785 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.187/8.345, allocations: 4.531 kB / 426.9 MB, free: 2.781 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator_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_0_0_Modelica_Mechanics_Translational_Examples_Oscillator.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.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: 10.990684897988103]