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.001343/0.001343, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001524/0.001524, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.437/1.437, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.001878/0.001878, allocations: 47.94 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2563, allocations: 53.37 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004302/0.2606, allocations: 2.302 MB / 433.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.2621, allocations: 0.6271 MB / 434 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002153/0.2623, allocations: 11.94 kB / 434 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002034/0.2625, allocations: 39.58 kB / 434.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.2627, allocations: 71.36 kB / 434.1 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003694/0.2631, allocations: 71.89 kB / 434.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003895/0.2635, allocations: 254.8 kB / 434.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.2637, allocations: 69.62 kB / 434.5 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002755/0.2639, allocations: 115.6 kB / 434.6 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.2641, allocations: 95.53 kB / 434.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.027e-05/0.2642, allocations: 20 kB / 434.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.103e-05/0.2643, allocations: 24 kB / 434.8 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.792e-05/0.2643, allocations: 47.78 kB / 434.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.2644, allocations: 99.58 kB / 434.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003584/0.2648, allocations: 260.6 kB / 435.2 MB, free: 2.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2648, allocations: 4 kB / 435.2 MB, free: 2.516 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2648, allocations: 0 / 435.2 MB, free: 2.516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.2648, allocations: 0 / 435.2 MB, free: 2.516 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.0008679/0.2657, allocations: 469.5 kB / 435.6 MB, free: 2.027 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.2657, allocations: 8.031 kB / 435.6 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.414e-05/0.2658, allocations: 58.73 kB / 435.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002352/0.266, allocations: 48.73 kB / 435.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.2664, allocations: 190.9 kB / 435.9 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.2664, allocations: 16.81 kB / 435.9 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.058e-05/0.2665, allocations: 28.27 kB / 436 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004627/0.2669, allocations: 213.1 kB / 436.2 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.2669, allocations: 7.922 kB / 436.2 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.267, allocations: 16 kB / 436.2 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.267, allocations: 4 kB / 436.2 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003413/0.2673, allocations: 147.9 kB / 436.3 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.2686, allocations: 0.7004 MB / 437 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004513/0.2691, allocations: 188.2 kB / 437.2 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/0.2693, allocations: 101.6 kB / 437.3 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.2693, allocations: 4.188 kB / 437.3 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.712e-05/0.2694, allocations: 46.44 kB / 437.4 MB, free: 140 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.684e-06/0.2694, allocations: 0 / 437.4 MB, free: 140 kB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001704/0.2711, allocations: 0.7135 MB / 438.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/0.2712, allocations: 81.11 kB / 438.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.2714, allocations: 183.8 kB / 438.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.2714, allocations: 29.7 kB / 438.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.2715, allocations: 144.5 kB / 438.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.2717, allocations: 99.16 kB / 438.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.114e-05/0.2718, allocations: 49.7 kB / 438.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.2719, allocations: 330.8 kB / 439 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.2721, allocations: 63.97 kB / 439 MB, free: 14.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.2723, allocations: 108.2 kB / 439.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003561/0.2726, allocations: 186.2 kB / 439.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.2727, allocations: 3.938 kB / 439.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004604/0.2731, allocations: 248.4 kB / 439.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.2731, allocations: 12.09 kB / 439.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.2731, allocations: 0 / 439.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.275e-05/0.2732, allocations: 4 kB / 439.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.2734, allocations: 59.89 kB / 439.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.2734, allocations: 4 kB / 439.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.2736, allocations: 11.94 kB / 439.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.2736, allocations: 12 kB / 439.7 MB, free: 13.68 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.0001463/0.2737, allocations: 137.7 kB / 439.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.264e-05/0.2738, allocations: 23.86 kB / 439.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.478e-05/0.2738, allocations: 37.73 kB / 439.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.2739, allocations: 7.828 kB / 439.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2739, allocations: 0 / 439.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.2739, allocations: 7.984 kB / 439.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008877/0.2748, allocations: 0.5297 MB / 440.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.2748, allocations: 0 / 440.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/0.275, allocations: 55.95 kB / 440.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.275, allocations: 4.094 kB / 440.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.2751, allocations: 12 kB / 440.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.2751, allocations: 7.938 kB / 440.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.2751, allocations: 7.938 kB / 440.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000854/0.2759, allocations: 485.1 kB / 441 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.276, allocations: 19.86 kB / 441 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.276, allocations: 8.031 kB / 441 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.2762, allocations: 15.94 kB / 441 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.7e-05/0.2763, allocations: 19.91 kB / 441 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.2763, allocations: 12 kB / 441.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001727/0.2765, allocations: 132.5 kB / 441.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2765, allocations: 0 / 441.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003667/0.2768, allocations: 52 kB / 441.2 MB, free: 12.04 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.001553/0.2784, allocations: 1.026 MB / 442.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006241/0.279, allocations: 171.8 kB / 442.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.279, allocations: 0 / 442.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002951/0.2793, allocations: 87.84 kB / 442.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007478/0.28, allocations: 36.67 kB / 442.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005265/0.2853, allocations: 2.664 MB / 445.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.2855, allocations: 138.1 kB / 445.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001169/0.2856, allocations: 33.86 kB / 445.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.2858, allocations: 67.42 kB / 445.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2858, allocations: 0 / 445.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04035/0.3261, allocations: 5.125 MB / 450.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.66, allocations: 7.938 kB / 450.6 MB, free: 2.668 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: 14.070818290114403]