Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 112.7 kB / 17.07 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 196 kB / 18.01 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001055, allocations: 43.92 kB / 350.8 MB, free: 3.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2431, allocations: 49.45 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003563/0.2467, allocations: 2.417 MB / 402.6 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.2477, allocations: 0.5765 MB / 403.2 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001677/0.2479, allocations: 4 kB / 403.2 MB, free: 5.789 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.2481, allocations: 39.58 kB / 403.3 MB, free: 5.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001619/0.2482, allocations: 67.36 kB / 403.3 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.2485, allocations: 59.92 kB / 403.4 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002891/0.2488, allocations: 254.9 kB / 403.6 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.249, allocations: 97.33 kB / 403.7 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.2491, allocations: 107.6 kB / 403.8 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.2493, allocations: 103.5 kB / 403.9 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.673e-05/0.2493, allocations: 20 kB / 404 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.381e-05/0.2494, allocations: 20 kB / 404 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.641e-05/0.2494, allocations: 51.81 kB / 404 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.2495, allocations: 119.4 kB / 404.1 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.2498, allocations: 250 kB / 404.4 MB, free: 4.625 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.2498, allocations: 3.938 kB / 404.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2498, allocations: 0 / 404.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.2499, allocations: 0 / 404.4 MB, free: 4.621 MB / 318.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.0007375/0.2506, allocations: 0.5261 MB / 404.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.2506, allocations: 11.97 kB / 404.9 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.798e-05/0.2507, allocations: 54.73 kB / 405 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.2508, allocations: 32.73 kB / 405 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.2511, allocations: 233.4 kB / 405.2 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.2511, allocations: 20.81 kB / 405.3 MB, free: 3.652 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/0.2511, allocations: 24.33 kB / 405.3 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003832/0.2515, allocations: 225 kB / 405.5 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.2516, allocations: 0 / 405.5 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.2516, allocations: 8 kB / 405.5 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.2516, allocations: 4 kB / 405.5 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003096/0.2519, allocations: 151.9 kB / 405.7 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.253, allocations: 0.7794 MB / 406.5 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003756/0.2534, allocations: 205 kB / 406.7 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002242/0.2536, allocations: 109.6 kB / 406.8 MB, free: 2.055 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.2537, allocations: 192 / 406.8 MB, free: 2.055 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.2537, allocations: 42.5 kB / 406.8 MB, free: 2.004 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.183e-06/0.2537, allocations: 4 kB / 406.8 MB, free: 2 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001502/0.2552, allocations: 0.8712 MB / 407.7 MB, free: 1.043 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.2553, allocations: 77.11 kB / 407.8 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.2554, allocations: 182.3 kB / 407.9 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.2554, allocations: 29.7 kB / 408 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.544e-05/0.2555, allocations: 144.5 kB / 408.1 MB, free: 0.582 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.624e-05/0.2556, allocations: 99.11 kB / 408.2 MB, free: 496 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-05/0.2557, allocations: 49.69 kB / 408.2 MB, free: 440 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.2558, allocations: 330.8 kB / 408.6 MB, free: 100 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.2559, allocations: 63.97 kB / 408.6 MB, free: 36 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.2561, allocations: 116.7 kB / 408.7 MB, free: 15.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/0.2564, allocations: 192.2 kB / 408.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2565, allocations: 3.938 kB / 408.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004096/0.2569, allocations: 244.1 kB / 409.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.2569, allocations: 4 kB / 409.2 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.2569, allocations: 7.938 kB / 409.2 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.2569, allocations: 0 / 409.2 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.2572, allocations: 59.95 kB / 409.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.2572, allocations: 7.938 kB / 409.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.2573, allocations: 16.05 kB / 409.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.2574, allocations: 15.94 kB / 409.3 MB, free: 15.35 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.0001159/0.2575, allocations: 137.7 kB / 409.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.268e-05/0.2575, allocations: 23.89 kB / 409.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.739e-05/0.2576, allocations: 25.88 kB / 409.5 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2576, allocations: 4 kB / 409.5 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.2576, allocations: 0 / 409.5 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.2576, allocations: 3.984 kB / 409.5 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007923/0.2584, allocations: 0.5781 MB / 410.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.2585, allocations: 4 kB / 410.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002649/0.2587, allocations: 59.91 kB / 410.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.2587, allocations: 0 / 410.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.824e-05/0.2588, allocations: 11.98 kB / 410.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.2588, allocations: 12.03 kB / 410.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.2588, allocations: 0 / 410.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006396/0.2595, allocations: 497 kB / 410.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.963e-05/0.2595, allocations: 96.91 kB / 410.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.2596, allocations: 8 kB / 410.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.2598, allocations: 15.97 kB / 410.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.2598, allocations: 11.98 kB / 410.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.2598, allocations: 23.92 kB / 410.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.356e-05/0.2599, allocations: 132.3 kB / 410.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.26, allocations: 0 / 410.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003252/0.2603, allocations: 48 kB / 411 MB, free: 13.55 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.0008768/0.2612, allocations: 1.038 MB / 412 MB, free: 12.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003666/0.2615, allocations: 171.8 kB / 412.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2616, allocations: 0 / 412.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.2617, allocations: 96.22 kB / 412.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.2622, allocations: 35.98 kB / 412.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/0.2653, allocations: 2.637 MB / 414.9 MB, free: 9.414 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.2656, allocations: 0.7479 MB / 415.7 MB, free: 8.641 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.2657, allocations: 33.86 kB / 415.7 MB, free: 8.605 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.2659, allocations: 67.42 kB / 415.8 MB, free: 8.539 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2659, allocations: 0 / 415.8 MB, free: 8.539 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02204/0.2879, allocations: 4.395 MB / 420.2 MB, free: 4.258 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.64/7.928, allocations: 18.39 kB / 420.2 MB, free: 4.242 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Mechanics_Translational_Examples_Oscillator.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches