Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001103/0.001103, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001129/0.001129, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8616/0.8616, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406e-05/1.54e-05, allocations: 2.281 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002325/0.002341, allocations: 2.319 MB / 326.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007483/0.003089, allocations: 0.6348 MB / 327.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.629e-05/0.003185, allocations: 7.938 kB / 327.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.003301, allocations: 35.64 kB / 327.5 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.444e-05/0.003395, allocations: 75.3 kB / 327.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/0.003657, allocations: 83.75 kB / 327.6 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.003875, allocations: 270.7 kB / 327.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.004027, allocations: 61.7 kB / 328 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.004221, allocations: 151.7 kB / 328.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.004335, allocations: 83.75 kB / 328.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.004362, allocations: 20 kB / 328.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.297e-05/0.004415, allocations: 27.94 kB / 328.2 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.798e-05/0.004443, allocations: 47.83 kB / 328.3 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.007e-05/0.004503, allocations: 83.77 kB / 328.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002397/0.004742, allocations: 271.1 kB / 328.6 MB, free: 11.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004745, allocations: 0 / 328.6 MB, free: 11.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.004746, allocations: 0 / 328.6 MB, free: 11.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.00475, allocations: 0 / 328.6 MB, free: 11.71 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.0005392/0.005289, allocations: 449.7 kB / 329.1 MB, free: 11.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.005328, allocations: 19.98 kB / 329.1 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.112e-05/0.005369, allocations: 50.73 kB / 329.2 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.005496, allocations: 52.72 kB / 329.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.005694, allocations: 181.3 kB / 329.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.005709, allocations: 16.88 kB / 329.4 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.005741, allocations: 24.27 kB / 329.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005108/0.006251, allocations: 218.7 kB / 329.6 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.006266, allocations: 11.94 kB / 329.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.006281, allocations: 8 kB / 329.7 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.006288, allocations: 7.984 kB / 329.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001972/0.006485, allocations: 143.8 kB / 329.8 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007218/0.007207, allocations: 0.7009 MB / 330.5 MB, free: 9.723 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.007477, allocations: 189 kB / 330.7 MB, free: 9.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.007616, allocations: 97.61 kB / 330.8 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.007636, allocations: 4 kB / 330.8 MB, free: 9.414 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.007653, allocations: 34.56 kB / 330.8 MB, free: 9.371 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.272e-06/0.007654, allocations: 0 / 330.8 MB, free: 9.371 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.0009667/0.008621, allocations: 0.7277 MB / 331.5 MB, free: 8.594 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.008657, allocations: 81.11 kB / 331.6 MB, free: 8.496 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.00877, allocations: 187 kB / 331.8 MB, free: 8.301 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.008784, allocations: 29.7 kB / 331.8 MB, free: 8.266 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.625e-05/0.00885, allocations: 144.5 kB / 332 MB, free: 8.121 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.015e-05/0.0089, allocations: 95.17 kB / 332.1 MB, free: 8.027 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.085e-05/0.008951, allocations: 45.7 kB / 332.1 MB, free: 7.977 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.3e-05/0.009034, allocations: 334.8 kB / 332.4 MB, free: 7.641 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.526e-05/0.009129, allocations: 75.89 kB / 332.5 MB, free: 7.566 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.009232, allocations: 104.2 kB / 332.6 MB, free: 7.449 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.009435, allocations: 188.1 kB / 332.8 MB, free: 7.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.009437, allocations: 4 kB / 332.8 MB, free: 7.246 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002576/0.009695, allocations: 256.4 kB / 333.1 MB, free: 6.992 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.009709, allocations: 10.95 kB / 333.1 MB, free: 6.984 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.009714, allocations: 0 / 333.1 MB, free: 6.984 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.009725, allocations: 4 kB / 333.1 MB, free: 6.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.00986, allocations: 59.91 kB / 333.1 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.009866, allocations: 4 kB / 333.1 MB, free: 6.918 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.361e-05/0.00992, allocations: 11.94 kB / 333.1 MB, free: 6.906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.009931, allocations: 12 kB / 333.2 MB, free: 6.895 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.506e-05/0.01002, allocations: 137.8 kB / 333.3 MB, free: 6.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.01005, allocations: 31.86 kB / 333.3 MB, free: 6.719 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.754e-05/0.01009, allocations: 25.81 kB / 333.3 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.01009, allocations: 7.938 kB / 333.4 MB, free: 6.688 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.01009, allocations: 0 / 333.4 MB, free: 6.688 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.0101, allocations: 3.984 kB / 333.4 MB, free: 6.684 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005166/0.01062, allocations: 0.5271 MB / 333.9 MB, free: 6.098 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.01062, allocations: 3.984 kB / 333.9 MB, free: 6.094 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.01076, allocations: 60 kB / 333.9 MB, free: 6.035 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.01076, allocations: 4 kB / 334 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.01078, allocations: 4 kB / 334 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.01078, allocations: 4 kB / 334 MB, free: 6.023 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01078, allocations: 0 / 334 MB, free: 6.023 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/0.01118, allocations: 493.2 kB / 334.4 MB, free: 5.516 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.0112, allocations: 23.89 kB / 334.5 MB, free: 5.492 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.01122, allocations: 8 kB / 334.5 MB, free: 5.484 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.187e-05/0.0113, allocations: 8 kB / 334.5 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.01134, allocations: 23.91 kB / 334.5 MB, free: 5.453 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.01135, allocations: 15.92 kB / 334.5 MB, free: 5.438 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.256e-05/0.01142, allocations: 132.2 kB / 334.7 MB, free: 5.309 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01142, allocations: 0 / 334.7 MB, free: 5.309 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002098/0.01163, allocations: 52 kB / 334.7 MB, free: 5.258 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.0005337/0.01216, allocations: 1.042 MB / 335.7 MB, free: 4.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002266/0.01239, allocations: 171.8 kB / 335.9 MB, free: 4.012 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.01239, allocations: 0 / 335.9 MB, free: 4.012 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.622e-05/0.01248, allocations: 83.91 kB / 336 MB, free: 3.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.0128, allocations: 48.98 kB / 336 MB, free: 3.883 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.01496, allocations: 2.567 MB / 338.6 MB, free: 1.172 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.489e-05/0.01505, allocations: 142.2 kB / 338.7 MB, free: 1.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.067e-05/0.01511, allocations: 21.94 kB / 338.8 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.674e-05/0.01519, allocations: 76.47 kB / 338.8 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01519, allocations: 0 / 338.8 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01691/0.03211, allocations: 5.227 MB / 344.1 MB, free: 11.82 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.792/6.824, allocations: 14.66 kB / 344.1 MB, free: 11.81 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_Translational_Examples_Oscillator.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.50924030598253]