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.001973/0.001973, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002276/0.002276, allocations: 203.9 kB / 23.73 MB, free: 4.379 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.474/1.474, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.001575/0.001575, allocations: 47.92 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2451, allocations: 53.37 MB / 431.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003554/0.2487, allocations: 2.306 MB / 433.4 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.2498, allocations: 0.6348 MB / 434 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.2499, allocations: 4 kB / 434 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.2501, allocations: 39.58 kB / 434.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.2502, allocations: 63.36 kB / 434.1 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.2505, allocations: 83.83 kB / 434.2 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002963/0.2508, allocations: 258.9 kB / 434.5 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.251, allocations: 73.62 kB / 434.5 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002073/0.2512, allocations: 115.6 kB / 434.6 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.2514, allocations: 103.5 kB / 434.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.985e-05/0.2514, allocations: 20 kB / 434.8 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.657e-05/0.2515, allocations: 23.94 kB / 434.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.486e-05/0.2515, allocations: 47.84 kB / 434.8 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.475e-05/0.2516, allocations: 95.58 kB / 434.9 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.2519, allocations: 267.3 kB / 435.2 MB, free: 2.492 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2519, allocations: 0 / 435.2 MB, free: 2.492 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2519, allocations: 3.938 kB / 435.2 MB, free: 2.488 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.2519, allocations: 0 / 435.2 MB, free: 2.488 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.0007967/0.2527, allocations: 465.5 kB / 435.6 MB, free: 2.004 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.2528, allocations: 12.03 kB / 435.7 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.965e-05/0.2528, allocations: 50.73 kB / 435.7 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002211/0.2531, allocations: 56.72 kB / 435.8 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.2534, allocations: 183 kB / 435.9 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.2534, allocations: 16.81 kB / 436 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/0.2534, allocations: 20.33 kB / 436 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004026/0.2538, allocations: 225 kB / 436.2 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.2539, allocations: 4 kB / 436.2 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.2539, allocations: 8 kB / 436.2 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.2539, allocations: 8 kB / 436.2 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003141/0.2542, allocations: 146 kB / 436.4 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.2554, allocations: 0.7004 MB / 437.1 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004052/0.2558, allocations: 189 kB / 437.2 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.256, allocations: 97.83 kB / 437.3 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.2561, allocations: 12.11 kB / 437.3 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.2561, allocations: 38.5 kB / 437.4 MB, free: 128 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 3.267e-06/0.2561, allocations: 3.984 kB / 437.4 MB, free: 124 kB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001628/0.2577, allocations: 0.7193 MB / 438.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/0.2578, allocations: 85.05 kB / 438.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.258, allocations: 183.8 kB / 438.4 MB, free: 15.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.258, allocations: 29.7 kB / 438.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.2582, allocations: 144.5 kB / 438.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.464e-05/0.2582, allocations: 99.16 kB / 438.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.442e-05/0.2583, allocations: 45.7 kB / 438.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.2585, allocations: 334.8 kB / 439 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.2587, allocations: 63.97 kB / 439.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.2589, allocations: 112.2 kB / 439.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/0.2592, allocations: 186.4 kB / 439.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.2592, allocations: 3.938 kB / 439.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004648/0.2597, allocations: 248.1 kB / 439.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.2597, allocations: 4.094 kB / 439.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2597, allocations: 4 kB / 439.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.2597, allocations: 7.938 kB / 439.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002633/0.26, allocations: 59.91 kB / 439.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/0.26, allocations: 7.938 kB / 439.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.2601, allocations: 11.94 kB / 439.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.2602, allocations: 15.98 kB / 439.7 MB, free: 13.65 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.0001501/0.2603, allocations: 137.7 kB / 439.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.454e-05/0.2604, allocations: 23.86 kB / 439.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.002e-05/0.2604, allocations: 25.81 kB / 439.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2604, allocations: 8 kB / 439.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2605, allocations: 0 / 439.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.2605, allocations: 3.984 kB / 439.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009096/0.2614, allocations: 0.531 MB / 440.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2614, allocations: 0 / 440.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.2616, allocations: 59.91 kB / 440.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.2616, allocations: 4 kB / 440.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.2617, allocations: 4.094 kB / 440.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.2617, allocations: 7.938 kB / 440.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2617, allocations: 0 / 440.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007184/0.2624, allocations: 489.4 kB / 441 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.2624, allocations: 27.89 kB / 441 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.2625, allocations: 8 kB / 441 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.2626, allocations: 7.938 kB / 441 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.562e-05/0.2627, allocations: 23.95 kB / 441.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.2627, allocations: 8 kB / 441.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.2628, allocations: 132.5 kB / 441.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2628, allocations: 0 / 441.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000333/0.2631, allocations: 52 kB / 441.3 MB, free: 12.03 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.001046/0.2642, allocations: 1.03 MB / 442.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004082/0.2646, allocations: 175.9 kB / 442.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.2646, allocations: 0 / 442.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.2648, allocations: 87.84 kB / 442.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004998/0.2653, allocations: 43.2 kB / 442.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003535/0.2688, allocations: 2.653 MB / 445.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.269, allocations: 146.1 kB / 445.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.8e-05/0.2691, allocations: 29.92 kB / 445.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.2692, allocations: 71.41 kB / 445.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of SimCode: time 1.122e-06/0.2692, allocations: 0 / 445.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03573/0.3049, allocations: 5.193 MB / 450.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.47, allocations: 14.89 kB / 450.7 MB, free: 2.574 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.974618086998817]