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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 193.8 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 225.7 MB / 252.5 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002379/0.002379, allocations: 51.92 kB / 370.4 MB, free: 9.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2867, allocations: 52.18 MB / 422.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004189/0.2908, allocations: 2.293 MB / 424.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.2923, allocations: 0.5532 MB / 425.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001909/0.2925, allocations: 4 kB / 425.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002028/0.2927, allocations: 39.59 kB / 425.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001901/0.2929, allocations: 63.42 kB / 425.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.2932, allocations: 63.86 kB / 425.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003685/0.2936, allocations: 258.8 kB / 425.8 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002187/0.2938, allocations: 69.44 kB / 425.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.294, allocations: 95.66 kB / 426 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.2942, allocations: 99.53 kB / 426.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.782e-05/0.2943, allocations: 20 kB / 426.1 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.422e-05/0.2943, allocations: 20 kB / 426.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.541e-05/0.2944, allocations: 51.77 kB / 426.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.2945, allocations: 91.59 kB / 426.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000387/0.2949, allocations: 256.8 kB / 426.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.2949, allocations: 0 / 426.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2949, allocations: 0 / 426.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.2949, allocations: 0 / 426.5 MB, free: 10.39 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.0008676/0.2957, allocations: 461.5 kB / 427 MB, free: 9.914 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.2958, allocations: 12.03 kB / 427 MB, free: 9.902 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.905e-05/0.2959, allocations: 54.72 kB / 427 MB, free: 9.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.582e-05/0.2959, allocations: 28.75 kB / 427.1 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003864/0.2963, allocations: 178.8 kB / 427.2 MB, free: 9.609 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.2963, allocations: 12.81 kB / 427.2 MB, free: 9.598 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-05/0.2964, allocations: 28.33 kB / 427.3 MB, free: 9.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004523/0.2968, allocations: 221 kB / 427.5 MB, free: 9.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.2969, allocations: 7.922 kB / 427.5 MB, free: 9.332 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.2969, allocations: 12 kB / 427.5 MB, free: 9.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.2969, allocations: 4 kB / 427.5 MB, free: 9.316 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003531/0.2972, allocations: 147.9 kB / 427.7 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.2986, allocations: 0.7044 MB / 428.4 MB, free: 8.406 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004485/0.2991, allocations: 181 kB / 428.5 MB, free: 8.211 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/0.2993, allocations: 93.67 kB / 428.6 MB, free: 8.113 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.2993, allocations: 12.11 kB / 428.6 MB, free: 8.102 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.2994, allocations: 46.44 kB / 428.7 MB, free: 8.047 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 2.024e-06/0.2994, allocations: 0 / 428.7 MB, free: 8.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001657/0.301, allocations: 0.7223 MB / 429.4 MB, free: 7.273 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.97e-05/0.3011, allocations: 81.11 kB / 429.5 MB, free: 7.176 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.3013, allocations: 179.2 kB / 429.7 MB, free: 6.992 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.3013, allocations: 29.7 kB / 429.7 MB, free: 6.957 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.3014, allocations: 140.5 kB / 429.8 MB, free: 6.816 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.015e-05/0.3015, allocations: 99.09 kB / 429.9 MB, free: 6.719 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.585e-05/0.3016, allocations: 49.7 kB / 430 MB, free: 6.664 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3018, allocations: 330.8 kB / 430.3 MB, free: 6.332 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.3019, allocations: 67.95 kB / 430.4 MB, free: 6.266 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.3021, allocations: 112.2 kB / 430.5 MB, free: 6.141 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/0.3025, allocations: 186.7 kB / 430.7 MB, free: 5.945 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3025, allocations: 3.938 kB / 430.7 MB, free: 5.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004587/0.3029, allocations: 241.4 kB / 430.9 MB, free: 5.699 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.303, allocations: 4 kB / 430.9 MB, free: 5.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.303, allocations: 4 kB / 430.9 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.303, allocations: 0 / 430.9 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.3033, allocations: 63.91 kB / 431 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.3033, allocations: 4 kB / 431 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.3034, allocations: 23.94 kB / 431 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.3034, allocations: 8 kB / 431 MB, free: 5.594 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.0001448/0.3036, allocations: 145.8 kB / 431.1 MB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.933e-05/0.3036, allocations: 15.91 kB / 431.2 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.269e-05/0.3037, allocations: 29.8 kB / 431.2 MB, free: 5.398 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.3037, allocations: 4 kB / 431.2 MB, free: 5.395 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3037, allocations: 0 / 431.2 MB, free: 5.395 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3037, allocations: 3.938 kB / 431.2 MB, free: 5.391 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009126/0.3046, allocations: 0.5349 MB / 431.7 MB, free: 4.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3046, allocations: 96 / 431.7 MB, free: 4.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.3049, allocations: 55.97 kB / 431.8 MB, free: 4.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.3049, allocations: 7.938 kB / 431.8 MB, free: 4.734 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.3049, allocations: 7.984 kB / 431.8 MB, free: 4.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.3049, allocations: 11.88 kB / 431.8 MB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3049, allocations: 0 / 431.8 MB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006699/0.3056, allocations: 497 kB / 432.3 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/0.3056, allocations: 27.8 kB / 432.3 MB, free: 4.176 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.3057, allocations: 12 kB / 432.3 MB, free: 4.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.3058, allocations: 7.938 kB / 432.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.3059, allocations: 24 kB / 432.4 MB, free: 4.133 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.3059, allocations: 4 kB / 432.4 MB, free: 4.129 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.306, allocations: 132.4 kB / 432.5 MB, free: 4 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.306, allocations: 0 / 432.5 MB, free: 4 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003458/0.3064, allocations: 48 kB / 432.5 MB, free: 3.953 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.001031/0.3074, allocations: 1.026 MB / 433.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003966/0.3078, allocations: 168.3 kB / 433.7 MB, free: 2.723 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3078, allocations: 0 / 433.7 MB, free: 2.723 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.308, allocations: 87.84 kB / 433.8 MB, free: 2.637 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004863/0.3084, allocations: 44.42 kB / 433.9 MB, free: 2.598 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00342/0.3119, allocations: 2.656 MB / 436.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.312, allocations: 142.2 kB / 436.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.3121, allocations: 17.95 kB / 436.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.3122, allocations: 67.41 kB / 436.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3122, allocations: 0 / 436.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03506/0.3473, allocations: 5.046 MB / 441.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.67, allocations: 10.84 kB / 441.8 MB, free: 10.69 MB / 350.1 MB " [Timeout remaining time 648] (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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.042669789865613]