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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001279/0.001279, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001334/0.001334, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 63.88 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2491, allocations: 50.54 MB / 408.8 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003894/0.253, allocations: 2.441 MB / 411.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.2543, allocations: 0.6544 MB / 411.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.2545, allocations: 4 kB / 411.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.2547, allocations: 39.58 kB / 411.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.2548, allocations: 67.36 kB / 412 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.2551, allocations: 75.89 kB / 412 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003343/0.2555, allocations: 254.8 kB / 412.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002287/0.2557, allocations: 101.3 kB / 412.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002331/0.256, allocations: 107.6 kB / 412.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.2562, allocations: 115.5 kB / 412.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.969e-05/0.2562, allocations: 20 kB / 412.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.317e-05/0.2563, allocations: 24 kB / 412.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.79e-05/0.2564, allocations: 43.84 kB / 412.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.2565, allocations: 119.4 kB / 412.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.2569, allocations: 261.9 kB / 413.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2569, allocations: 0 / 413.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2569, allocations: 0 / 413.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.2569, allocations: 0 / 413.1 MB, free: 13.2 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.0008854/0.2578, allocations: 0.5338 MB / 413.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.2579, allocations: 8.031 kB / 413.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.325e-05/0.2579, allocations: 58.67 kB / 413.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002435/0.2582, allocations: 48.72 kB / 413.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003824/0.2586, allocations: 252 kB / 413.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.2586, allocations: 12.81 kB / 414 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.283e-05/0.2587, allocations: 24.33 kB / 414 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004158/0.2591, allocations: 221.1 kB / 414.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.2591, allocations: 3.938 kB / 414.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.2591, allocations: 8 kB / 414.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.2592, allocations: 15.98 kB / 414.2 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003228/0.2595, allocations: 143.9 kB / 414.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.2607, allocations: 0.7716 MB / 415.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004232/0.2612, allocations: 201 kB / 415.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/0.2614, allocations: 105.7 kB / 415.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.2615, allocations: 4.188 kB / 415.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.2615, allocations: 42.44 kB / 415.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.382e-06/0.2615, allocations: 0 / 415.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001694/0.2632, allocations: 0.8715 MB / 416.4 MB, free: 9.602 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.2633, allocations: 89.09 kB / 416.4 MB, free: 9.496 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.2635, allocations: 178.8 kB / 416.6 MB, free: 9.309 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.2635, allocations: 29.7 kB / 416.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.803e-05/0.2636, allocations: 144.5 kB / 416.8 MB, free: 9.129 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.087e-05/0.2637, allocations: 95.12 kB / 416.9 MB, free: 9.035 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.863e-05/0.2638, allocations: 49.7 kB / 416.9 MB, free: 8.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.264, allocations: 330.8 kB / 417.2 MB, free: 8.648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.2641, allocations: 67.97 kB / 417.3 MB, free: 8.582 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/0.2643, allocations: 112.2 kB / 417.4 MB, free: 8.457 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003368/0.2646, allocations: 190.6 kB / 417.6 MB, free: 8.258 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.2647, allocations: 7.938 kB / 417.6 MB, free: 8.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004348/0.2651, allocations: 241.3 kB / 417.9 MB, free: 8.008 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.2651, allocations: 8 kB / 417.9 MB, free: 8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2651, allocations: 3.984 kB / 417.9 MB, free: 7.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.2652, allocations: 4 kB / 417.9 MB, free: 7.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.2654, allocations: 68 kB / 417.9 MB, free: 7.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.2655, allocations: 0 / 417.9 MB, free: 7.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.2656, allocations: 12 kB / 417.9 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.2656, allocations: 4 kB / 418 MB, free: 7.91 MB / 334.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.0001449/0.2657, allocations: 153.6 kB / 418.1 MB, free: 7.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.2658, allocations: 23.86 kB / 418.1 MB, free: 7.727 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.67e-05/0.2659, allocations: 25.88 kB / 418.2 MB, free: 7.699 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2659, allocations: 0 / 418.2 MB, free: 7.699 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/0.2659, allocations: 8 kB / 418.2 MB, free: 7.691 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.2659, allocations: 3.984 kB / 418.2 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008993/0.2668, allocations: 0.5787 MB / 418.7 MB, free: 7.043 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.2669, allocations: 7.984 kB / 418.7 MB, free: 7.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.2672, allocations: 56.05 kB / 418.8 MB, free: 6.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.2672, allocations: 4 kB / 418.8 MB, free: 6.977 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.2672, allocations: 8 kB / 418.8 MB, free: 6.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.2672, allocations: 11.88 kB / 418.8 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2672, allocations: 0 / 418.8 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000702/0.2679, allocations: 493 kB / 419.3 MB, free: 6.449 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-05/0.268, allocations: 89.02 kB / 419.4 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.52e-05/0.2681, allocations: 12.03 kB / 419.4 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.2682, allocations: 15.88 kB / 419.4 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.278e-05/0.2683, allocations: 23.91 kB / 419.4 MB, free: 6.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.2683, allocations: 8 kB / 419.5 MB, free: 6.285 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.2684, allocations: 136.9 kB / 419.6 MB, free: 6.152 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2684, allocations: 0 / 419.6 MB, free: 6.152 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000334/0.2688, allocations: 52 kB / 419.6 MB, free: 6.102 MB / 334.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.0009971/0.2698, allocations: 1.033 MB / 420.7 MB, free: 5.031 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004132/0.2702, allocations: 186 kB / 420.9 MB, free: 4.852 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2702, allocations: 0 / 420.9 MB, free: 4.852 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.2704, allocations: 104 kB / 421 MB, free: 4.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/0.2709, allocations: 35.98 kB / 421 MB, free: 4.715 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003443/0.2744, allocations: 2.657 MB / 423.6 MB, free: 1.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.2748, allocations: 0.7402 MB / 424.4 MB, free: 1.164 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001039/0.2749, allocations: 25.94 kB / 424.4 MB, free: 1.137 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.275, allocations: 71.41 kB / 424.5 MB, free: 1.066 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2751, allocations: 4 kB / 424.5 MB, free: 1.062 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02845/0.3035, allocations: 4.454 MB / 428.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.346/8.65, allocations: 11.59 kB / 429 MB, free: 12.71 MB / 350.1 MB (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) 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) Reference file matches