Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.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.0007946/0.0007946, allocations: 83.69 kB / 20.67 MB, free: 3.879 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.001405/0.001405, allocations: 177.3 kB / 23.96 MB, free: 0.5977 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.8849/0.8849, allocations: 177.2 MB / 204.3 MB, free: 5.723 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.Translational.Examples.Oscillator,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 324.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.396e-05/2.591e-05, allocations: 4.531 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002664/0.00269, allocations: 2.31 MB / 326.9 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008855/0.003575, allocations: 0.6348 MB / 327.5 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.003683, allocations: 11.88 kB / 327.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.003802, allocations: 31.66 kB / 327.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.003919, allocations: 79.28 kB / 327.6 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002983/0.004217, allocations: 75.78 kB / 327.7 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.004455, allocations: 274.7 kB / 328 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.00461, allocations: 61.7 kB / 328 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.004821, allocations: 159.6 kB / 328.2 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.004933, allocations: 75.78 kB / 328.3 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.004962, allocations: 20 kB / 328.3 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.786e-05/0.00502, allocations: 28 kB / 328.3 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.712e-05/0.005057, allocations: 47.81 kB / 328.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.017e-05/0.005137, allocations: 87.75 kB / 328.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.005399, allocations: 263.1 kB / 328.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.005402, allocations: 0 / 328.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.005403, allocations: 0 / 328.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.005407, allocations: 0 / 328.7 MB, free: 11.8 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005273/0.005934, allocations: 460.9 kB / 329.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.005971, allocations: 12.03 kB / 329.1 MB, free: 11.31 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.006016, allocations: 54.73 kB / 329.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.006144, allocations: 44.73 kB / 329.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.006361, allocations: 189.3 kB / 329.4 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.006374, allocations: 12.88 kB / 329.4 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/0.006404, allocations: 24.33 kB / 329.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.006696, allocations: 222.7 kB / 329.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.006711, allocations: 7.922 kB / 329.7 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.006727, allocations: 12 kB / 329.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.006734, allocations: 4 kB / 329.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/0.006935, allocations: 143.8 kB / 329.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006994/0.007635, allocations: 0.7008 MB / 330.6 MB, free: 9.801 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.00791, allocations: 193 kB / 330.7 MB, free: 9.594 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.008054, allocations: 97.66 kB / 330.8 MB, free: 9.492 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.008072, allocations: 7.938 kB / 330.8 MB, free: 9.484 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.008089, allocations: 34.56 kB / 330.9 MB, free: 9.441 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.433e-06/0.00809, allocations: 0 / 330.9 MB, free: 9.441 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.0009887/0.009079, allocations: 0.7183 MB / 331.6 MB, free: 8.668 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.009115, allocations: 81.11 kB / 331.7 MB, free: 8.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.009226, allocations: 187 kB / 331.9 MB, free: 8.375 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.00924, allocations: 29.7 kB / 331.9 MB, free: 8.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.009302, allocations: 144.4 kB / 332 MB, free: 8.195 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.649e-05/0.009348, allocations: 103.2 kB / 332.1 MB, free: 8.094 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-05/0.009398, allocations: 45.7 kB / 332.2 MB, free: 8.043 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.057e-05/0.009479, allocations: 334.8 kB / 332.5 MB, free: 7.707 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.799e-05/0.009567, allocations: 67.95 kB / 332.6 MB, free: 7.641 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.009672, allocations: 108.2 kB / 332.7 MB, free: 7.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.009905, allocations: 184.1 kB / 332.9 MB, free: 7.324 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.009906, allocations: 0 / 332.9 MB, free: 7.324 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002699/0.01018, allocations: 253.2 kB / 333.1 MB, free: 7.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.01019, allocations: 6.656 kB / 333.1 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.0102, allocations: 0 / 333.1 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.01021, allocations: 4 kB / 333.1 MB, free: 7.062 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.01034, allocations: 59.91 kB / 333.2 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.01035, allocations: 4 kB / 333.2 MB, free: 7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.312e-05/0.0104, allocations: 15.92 kB / 333.2 MB, free: 6.984 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.01042, allocations: 12 kB / 333.2 MB, free: 6.973 MB / 298.7 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 8.364e-05/0.0105, allocations: 137.9 kB / 333.3 MB, free: 6.828 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.01053, allocations: 27.8 kB / 333.4 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.678e-05/0.01057, allocations: 29.8 kB / 333.4 MB, free: 6.773 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.01057, allocations: 4 kB / 333.4 MB, free: 6.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.01058, allocations: 0 / 333.4 MB, free: 6.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.01058, allocations: 3.984 kB / 333.4 MB, free: 6.766 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005275/0.01111, allocations: 0.5297 MB / 333.9 MB, free: 6.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01111, allocations: 4 kB / 333.9 MB, free: 6.176 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.01125, allocations: 63.94 kB / 334 MB, free: 6.113 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.01125, allocations: 8 kB / 334 MB, free: 6.105 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.01127, allocations: 7.984 kB / 334 MB, free: 6.098 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.01127, allocations: 4 kB / 334 MB, free: 6.094 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01127, allocations: 0 / 334 MB, free: 6.094 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000425/0.0117, allocations: 493.2 kB / 334.5 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.21e-05/0.01172, allocations: 23.86 kB / 334.5 MB, free: 5.562 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.01174, allocations: 12 kB / 334.5 MB, free: 5.551 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.188e-05/0.01182, allocations: 8.031 kB / 334.5 MB, free: 5.543 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.01188, allocations: 23.91 kB / 334.6 MB, free: 5.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.01188, allocations: 4 kB / 334.6 MB, free: 5.516 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.916e-05/0.01196, allocations: 144.2 kB / 334.7 MB, free: 5.375 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01196, allocations: 0 / 334.7 MB, free: 5.375 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002253/0.01219, allocations: 52 kB / 334.8 MB, free: 5.324 MB / 298.7 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.0006243/0.01281, allocations: 1.035 MB / 335.8 MB, free: 4.254 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002501/0.01306, allocations: 170.4 kB / 336 MB, free: 4.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.01307, allocations: 4 kB / 336 MB, free: 4.086 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.01317, allocations: 87.83 kB / 336 MB, free: 4 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.01349, allocations: 44.98 kB / 336.1 MB, free: 3.957 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.01581, allocations: 2.56 MB / 338.7 MB, free: 1.262 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.01593, allocations: 146.1 kB / 338.8 MB, free: 1.102 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.643e-05/0.01602, allocations: 25.94 kB / 338.8 MB, free: 1.074 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.01612, allocations: 72.47 kB / 338.9 MB, free: 1.004 MB / 298.7 MB Notification: Performance of SimCode: time 1.203e-06/0.01612, allocations: 0 / 338.9 MB, free: 1.004 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01779/0.03391, allocations: 5.25 MB / 344.1 MB, free: 11.89 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.85/6.884, allocations: 10.06 kB / 344.1 MB, free: 11.89 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Mechanics_Translational_Examples_Oscillator.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 8.633161747828126]