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.001747/0.001747, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001603/0.001603, allocations: 213 kB / 23.73 MB, free: 4.164 MB / 14.72 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 1.435/1.435, allocations: 230.5 MB / 257.4 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002087/0.002087, allocations: 55.91 kB / 377.7 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.244, allocations: 53.42 MB / 431.1 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003838/0.2478, allocations: 2.314 MB / 433.4 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.249, allocations: 0.6233 MB / 434.1 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.2491, allocations: 7.938 kB / 434.1 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.2493, allocations: 39.58 kB / 434.1 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.2494, allocations: 67.42 kB / 434.2 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003016/0.2497, allocations: 79.83 kB / 434.3 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003279/0.2501, allocations: 258.8 kB / 434.5 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/0.2503, allocations: 69.62 kB / 434.6 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.2505, allocations: 111.6 kB / 434.7 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.2506, allocations: 95.48 kB / 434.8 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.548e-05/0.2506, allocations: 20 kB / 434.8 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.927e-05/0.2507, allocations: 24 kB / 434.8 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.708e-05/0.2508, allocations: 51.84 kB / 434.9 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.2509, allocations: 95.52 kB / 435 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000339/0.2512, allocations: 264.6 kB / 435.2 MB, free: 2.367 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2512, allocations: 3.984 kB / 435.2 MB, free: 2.363 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2512, allocations: 0 / 435.2 MB, free: 2.363 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.2512, allocations: 0 / 435.2 MB, free: 2.363 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.0008306/0.2521, allocations: 469.5 kB / 435.7 MB, free: 1.875 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.2521, allocations: 11.98 kB / 435.7 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.631e-05/0.2522, allocations: 54.73 kB / 435.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002183/0.2524, allocations: 48.72 kB / 435.8 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.2527, allocations: 179 kB / 436 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.2527, allocations: 16.81 kB / 436 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.495e-05/0.2528, allocations: 24.33 kB / 436 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/0.2532, allocations: 221.1 kB / 436.2 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.2532, allocations: 4 kB / 436.2 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.2532, allocations: 11.94 kB / 436.2 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.2532, allocations: 4 kB / 436.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003258/0.2535, allocations: 143.9 kB / 436.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.2547, allocations: 0.7082 MB / 437.1 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004617/0.2552, allocations: 197 kB / 437.3 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/0.2554, allocations: 93.67 kB / 437.4 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.2555, allocations: 352 / 437.4 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.2555, allocations: 38.5 kB / 437.4 MB, free: 4 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.142e-06/0.2555, allocations: 0 / 437.4 MB, free: 4 kB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.00156/0.2571, allocations: 0.731 MB / 438.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.2571, allocations: 77.11 kB / 438.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.2573, allocations: 183.2 kB / 438.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.2573, allocations: 29.7 kB / 438.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.2574, allocations: 148.4 kB / 438.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.46e-05/0.2575, allocations: 99.16 kB / 438.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.101e-05/0.2576, allocations: 53.69 kB / 438.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.2578, allocations: 326.8 kB / 439 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.2579, allocations: 71.95 kB / 439.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.2581, allocations: 104.2 kB / 439.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003457/0.2584, allocations: 187.2 kB / 439.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2584, allocations: 3.938 kB / 439.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004545/0.2589, allocations: 245.3 kB / 439.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.2589, allocations: 8 kB / 439.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2589, allocations: 0 / 439.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.2589, allocations: 4 kB / 439.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.2592, allocations: 63.91 kB / 439.7 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.2592, allocations: 4 kB / 439.7 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.2593, allocations: 19.92 kB / 439.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.2593, allocations: 4 kB / 439.7 MB, free: 13.54 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.0001335/0.2594, allocations: 145.8 kB / 439.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.276e-05/0.2595, allocations: 23.86 kB / 439.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.669e-05/0.2596, allocations: 29.8 kB / 439.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2596, allocations: 0 / 439.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.2596, allocations: 4 kB / 439.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2596, allocations: 0 / 439.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008495/0.2604, allocations: 0.5309 MB / 440.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2604, allocations: 0 / 440.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002703/0.2607, allocations: 64.06 kB / 440.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.2607, allocations: 0 / 440.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.2607, allocations: 11.94 kB / 440.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.2607, allocations: 7.938 kB / 440.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2607, allocations: 3.938 kB / 440.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007028/0.2614, allocations: 497.7 kB / 441 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.816e-05/0.2615, allocations: 19.86 kB / 441.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/0.2615, allocations: 8 kB / 441.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.2617, allocations: 15.94 kB / 441.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.2617, allocations: 27.94 kB / 441.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.2618, allocations: 7.938 kB / 441.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.2619, allocations: 136.5 kB / 441.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2619, allocations: 0 / 441.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003358/0.2622, allocations: 48 kB / 441.3 MB, free: 11.88 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.001041/0.2632, allocations: 1.026 MB / 442.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003895/0.2636, allocations: 167.8 kB / 442.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2636, allocations: 0 / 442.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.2638, allocations: 87.83 kB / 442.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.2643, allocations: 42.67 kB / 442.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003561/0.2679, allocations: 2.661 MB / 445.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.268, allocations: 134.1 kB / 445.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.978e-05/0.2681, allocations: 25.94 kB / 445.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.2682, allocations: 71.41 kB / 445.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2682, allocations: 0 / 445.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03335/0.3016, allocations: 5.129 MB / 450.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.48, allocations: 4 kB / 450.6 MB, free: 2.5 MB / 350.1 MB " [Timeout remaining time 648] (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/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_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: 13.959789326880127]