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.001299/0.001299, allocations: 112.5 kB / 20.43 MB, free: 1.312 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.002331/0.002331, allocations: 209.8 kB / 23.74 MB, free: 4.543 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.455/1.455, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.0019/0.0019, allocations: 63.91 kB / 377.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2715, allocations: 53.41 MB / 431.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.00411/0.2756, allocations: 2.461 MB / 433.6 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.277, allocations: 0.6699 MB / 434.3 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.2772, allocations: 11.94 kB / 434.3 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.2773, allocations: 31.66 kB / 434.3 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.2775, allocations: 71.36 kB / 434.4 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.2778, allocations: 71.83 kB / 434.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003269/0.2781, allocations: 262.8 kB / 434.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.2783, allocations: 77.56 kB / 434.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.2785, allocations: 107.7 kB / 434.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.2787, allocations: 107.5 kB / 435 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.682e-05/0.2787, allocations: 20 kB / 435.1 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.635e-05/0.2788, allocations: 24 kB / 435.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.343e-05/0.2788, allocations: 43.84 kB / 435.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.2789, allocations: 127.4 kB / 435.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.2793, allocations: 267.2 kB / 435.5 MB, free: 2.336 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2793, allocations: 0 / 435.5 MB, free: 2.336 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2793, allocations: 0 / 435.5 MB, free: 2.336 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.2793, allocations: 0 / 435.5 MB, free: 2.336 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.0008007/0.2801, allocations: 461.5 kB / 436 MB, free: 1.855 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.2801, allocations: 8.031 kB / 436 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.067e-05/0.2802, allocations: 54.73 kB / 436 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002458/0.2804, allocations: 48.72 kB / 436.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.2808, allocations: 190.9 kB / 436.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.2808, allocations: 16.81 kB / 436.3 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/0.2808, allocations: 20.33 kB / 436.3 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004237/0.2813, allocations: 217.1 kB / 436.5 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.2813, allocations: 4 kB / 436.5 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.2813, allocations: 8 kB / 436.5 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.2813, allocations: 4 kB / 436.5 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003315/0.2817, allocations: 155.8 kB / 436.7 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.2829, allocations: 0.751 MB / 437.4 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004065/0.2833, allocations: 193 kB / 437.6 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.2835, allocations: 97.81 kB / 437.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.2836, allocations: 8.172 kB / 437.7 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.2836, allocations: 42.5 kB / 437.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.593e-06/0.2836, allocations: 0 / 437.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001594/0.2852, allocations: 0.718 MB / 438.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.2852, allocations: 81.11 kB / 438.5 MB, free: 15.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.2854, allocations: 183.2 kB / 438.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.2855, allocations: 29.7 kB / 438.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.2856, allocations: 144.5 kB / 438.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.193e-05/0.2857, allocations: 107 kB / 439 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.116e-05/0.2857, allocations: 49.69 kB / 439 MB, free: 14.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.2859, allocations: 326.8 kB / 439.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.286, allocations: 67.97 kB / 439.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.2862, allocations: 108.2 kB / 439.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.2866, allocations: 187 kB / 439.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.2866, allocations: 3.938 kB / 439.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004502/0.287, allocations: 245.3 kB / 440 MB, free: 13.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.2871, allocations: 4 kB / 440 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2871, allocations: 0 / 440 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.2871, allocations: 4 kB / 440 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.2873, allocations: 59.91 kB / 440 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2874, allocations: 4.484 kB / 440 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.2875, allocations: 15.98 kB / 440.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.2875, allocations: 12 kB / 440.1 MB, free: 13.47 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.0001361/0.2876, allocations: 141.7 kB / 440.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.547e-05/0.2877, allocations: 23.86 kB / 440.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.929e-05/0.2878, allocations: 29.8 kB / 440.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.2878, allocations: 4 kB / 440.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2878, allocations: 0 / 440.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2878, allocations: 4 kB / 440.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009584/0.2887, allocations: 0.5505 MB / 440.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.2887, allocations: 7.938 kB / 440.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002729/0.289, allocations: 55.91 kB / 440.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.289, allocations: 0 / 440.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.289, allocations: 16.08 kB / 440.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.289, allocations: 7.938 kB / 440.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.289, allocations: 0 / 440.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006897/0.2897, allocations: 0.4938 MB / 441.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.081e-05/0.2898, allocations: 15.84 kB / 441.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.2898, allocations: 8 kB / 441.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.29, allocations: 15.97 kB / 441.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/0.29, allocations: 19.97 kB / 441.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.29, allocations: 8 kB / 441.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.2902, allocations: 136.5 kB / 441.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2902, allocations: 4 kB / 441.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000348/0.2905, allocations: 52 kB / 441.6 MB, free: 11.79 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.001025/0.2915, allocations: 1.022 MB / 442.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004247/0.292, allocations: 178.5 kB / 442.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.292, allocations: 0 / 442.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.2921, allocations: 92.2 kB / 442.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004983/0.2926, allocations: 39.64 kB / 443 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00356/0.2962, allocations: 2.656 MB / 445.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/0.2966, allocations: 0.7479 MB / 446.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.2967, allocations: 21.95 kB / 446.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.2969, allocations: 71.41 kB / 446.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2969, allocations: 0 / 446.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03329/0.3302, allocations: 4.733 MB / 451.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.37, allocations: 14.69 kB / 451.2 MB, free: 2.164 MB / 350.1 MB " [Timeout remaining time 649] (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.86868307199984]