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.001663/0.001663, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.00142/0.00142, allocations: 216.6 kB / 23.74 MB, free: 4.656 MB / 14.72 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 1.405/1.405, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001483/0.001483, allocations: 43.92 kB / 377.8 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2456, allocations: 53.36 MB / 431.1 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.005545/0.2511, allocations: 2.469 MB / 433.6 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.2529, allocations: 0.67 MB / 434.3 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.2531, allocations: 7.938 kB / 434.3 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002/0.2533, allocations: 39.59 kB / 434.3 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.2535, allocations: 63.42 kB / 434.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004215/0.2539, allocations: 79.77 kB / 434.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004695/0.2544, allocations: 262.8 kB / 434.7 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002485/0.2546, allocations: 73.56 kB / 434.8 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002835/0.2549, allocations: 107.6 kB / 434.9 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.2552, allocations: 111.5 kB / 435 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.706e-05/0.2552, allocations: 20 kB / 435 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.389e-05/0.2553, allocations: 28 kB / 435 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.3e-05/0.2554, allocations: 43.84 kB / 435.1 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.2556, allocations: 123.4 kB / 435.2 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005001/0.2561, allocations: 263.3 kB / 435.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.2561, allocations: 4 kB / 435.5 MB, free: 2.484 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2561, allocations: 0 / 435.5 MB, free: 2.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.2561, allocations: 0 / 435.5 MB, free: 2.484 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.001063/0.2571, allocations: 461.5 kB / 435.9 MB, free: 2.004 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.2572, allocations: 12.03 kB / 435.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.58e-05/0.2573, allocations: 54.67 kB / 436 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003031/0.2576, allocations: 48.72 kB / 436 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.258, allocations: 187 kB / 436.2 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/0.258, allocations: 12.81 kB / 436.2 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.643e-05/0.2581, allocations: 28.33 kB / 436.3 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005927/0.2587, allocations: 217.1 kB / 436.5 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.2587, allocations: 4 kB / 436.5 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.044e-05/0.2587, allocations: 8 kB / 436.5 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.2587, allocations: 4 kB / 436.5 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004863/0.2592, allocations: 151.8 kB / 436.6 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/0.261, allocations: 0.7511 MB / 437.4 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000575/0.2615, allocations: 189 kB / 437.6 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00032/0.2619, allocations: 89.67 kB / 437.7 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/0.2619, allocations: 4.188 kB / 437.7 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/0.2619, allocations: 38.5 kB / 437.7 MB, free: 92 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.733e-06/0.2619, allocations: 0 / 437.7 MB, free: 92 kB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.002336/0.2643, allocations: 0.7342 MB / 438.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/0.2643, allocations: 81.11 kB / 438.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/0.2646, allocations: 179.8 kB / 438.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.2646, allocations: 37.7 kB / 438.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.2648, allocations: 136.5 kB / 438.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.2649, allocations: 103.1 kB / 439 MB, free: 14.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.265, allocations: 49.7 kB / 439 MB, free: 14.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.2652, allocations: 330.8 kB / 439.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/0.2655, allocations: 63.97 kB / 439.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.2657, allocations: 112.2 kB / 439.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005208/0.2663, allocations: 188.5 kB / 439.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.2663, allocations: 3.938 kB / 439.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006749/0.2669, allocations: 247.7 kB / 439.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.267, allocations: 4 kB / 439.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.267, allocations: 4 kB / 439.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.267, allocations: 0 / 439.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003846/0.2674, allocations: 63.91 kB / 440 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.2674, allocations: 4 kB / 440 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.2676, allocations: 8 kB / 440 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.853e-05/0.2676, allocations: 16.08 kB / 440 MB, free: 13.62 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.0001865/0.2678, allocations: 142.2 kB / 440.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.2679, allocations: 23.86 kB / 440.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.166e-05/0.268, allocations: 25.81 kB / 440.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.268, allocations: 7.984 kB / 440.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/0.268, allocations: 4 kB / 440.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.268, allocations: 0 / 440.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.2693, allocations: 0.5566 MB / 440.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.2694, allocations: 4 kB / 440.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003775/0.2697, allocations: 59.91 kB / 440.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.2697, allocations: 4 kB / 440.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.2698, allocations: 7.984 kB / 440.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.2698, allocations: 7.938 kB / 440.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.2698, allocations: 4.031 kB / 440.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009412/0.2707, allocations: 493 kB / 441.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.687e-05/0.2708, allocations: 23.84 kB / 441.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.2708, allocations: 4 kB / 441.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/0.2711, allocations: 15.97 kB / 441.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.122e-05/0.2712, allocations: 19.91 kB / 441.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.2712, allocations: 12 kB / 441.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001672/0.2714, allocations: 132.5 kB / 441.6 MB, free: 12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2714, allocations: 0 / 441.6 MB, free: 12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006038/0.272, allocations: 48 kB / 441.6 MB, free: 11.95 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.001523/0.2735, allocations: 1.03 MB / 442.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005972/0.2741, allocations: 167.8 kB / 442.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2741, allocations: 0 / 442.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002772/0.2744, allocations: 95.77 kB / 442.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007755/0.2751, allocations: 36.36 kB / 442.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00513/0.2803, allocations: 2.656 MB / 445.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/0.2807, allocations: 0.7518 MB / 446.3 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001399/0.2809, allocations: 25.94 kB / 446.4 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.281, allocations: 71.41 kB / 446.4 MB, free: 6.934 MB / 350.1 MB Notification: Performance of SimCode: time 9.02e-07/0.281, allocations: 0 / 446.4 MB, free: 6.934 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0376/0.3186, allocations: 4.741 MB / 451.2 MB, free: 2.348 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.41, allocations: 10.84 kB / 451.2 MB, free: 2.344 MB / 350.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/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: 13.89298768200024]