Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 209.4 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.401/1.401, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002397/0.002397, allocations: 51.86 kB / 377.7 MB, free: 3.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2833, allocations: 53.36 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003017/0.2863, allocations: 1.596 MB / 432.7 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.2874, allocations: 0.5336 MB / 433.2 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.458e-05/0.2875, allocations: 7.938 kB / 433.2 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.081e-05/0.2876, allocations: 3.938 kB / 433.2 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.2877, allocations: 19.86 kB / 433.2 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.2881, allocations: 55.83 kB / 433.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.2882, allocations: 51.83 kB / 433.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.2883, allocations: 16.12 kB / 433.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.2884, allocations: 27.86 kB / 433.4 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.494e-05/0.2885, allocations: 23.84 kB / 433.4 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.2885, allocations: 4 kB / 433.4 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.241e-05/0.2886, allocations: 4 kB / 433.4 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.167e-05/0.2886, allocations: 19.92 kB / 433.4 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.241e-05/0.2886, allocations: 19.88 kB / 433.5 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.2888, allocations: 64.09 kB / 433.5 MB, free: 4.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2888, allocations: 0 / 433.5 MB, free: 4.199 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2888, allocations: 4 kB / 433.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.2888, allocations: 0 / 433.5 MB, free: 4.195 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005166/0.2893, allocations: 309.9 kB / 433.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.2894, allocations: 8.031 kB / 433.8 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.446e-05/0.2894, allocations: 30.75 kB / 433.9 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.2896, allocations: 24.88 kB / 433.9 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.2899, allocations: 145.2 kB / 434 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.396e-05/0.2899, allocations: 12.12 kB / 434 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.2899, allocations: 3.938 kB / 434.1 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002871/0.2902, allocations: 113.9 kB / 434.2 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.2902, allocations: 0 / 434.2 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.2902, allocations: 4 kB / 434.2 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.2902, allocations: 0 / 434.2 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.498e-05/0.2903, allocations: 27.92 kB / 434.2 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.2907, allocations: 245.6 kB / 434.4 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.2908, allocations: 67.78 kB / 434.5 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.921e-05/0.2909, allocations: 34.56 kB / 434.5 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.2909, allocations: 4 kB / 434.5 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.2909, allocations: 34.56 kB / 434.6 MB, free: 2.977 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.2909, allocations: 0 / 434.6 MB, free: 2.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003026/0.2912, allocations: 93.5 kB / 434.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.604e-05/0.2913, allocations: 114.7 kB / 434.8 MB, free: 2.742 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.2915, allocations: 152.3 kB / 434.9 MB, free: 2.586 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.2915, allocations: 25.7 kB / 434.9 MB, free: 2.555 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.2916, allocations: 88.12 kB / 435 MB, free: 2.465 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.2916, allocations: 4 kB / 435 MB, free: 2.461 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.2916, allocations: 21.67 kB / 435.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.2918, allocations: 319.2 kB / 435.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.323e-05/0.2918, allocations: 12 kB / 435.4 MB, free: 2.102 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.709e-05/0.2919, allocations: 35.42 kB / 435.4 MB, free: 2.055 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.571e-05/0.292, allocations: 43.36 kB / 435.5 MB, free: 2 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.292, allocations: 4 kB / 435.5 MB, free: 1.996 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001478/0.2921, allocations: 69.64 kB / 435.5 MB, free: 1.922 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.2921, allocations: 8 kB / 435.5 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2921, allocations: 0 / 435.5 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.2922, allocations: 0 / 435.5 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.633e-05/0.2922, allocations: 11.94 kB / 435.6 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.2923, allocations: 11.92 kB / 435.6 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.659e-05/0.2923, allocations: 0 / 435.6 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.2923, allocations: 4 kB / 435.6 MB, free: 1.887 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 9.704e-05/0.2924, allocations: 113.8 kB / 435.7 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.2925, allocations: 65.62 kB / 435.7 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.641e-05/0.2925, allocations: 11.97 kB / 435.8 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.2925, allocations: 0 / 435.8 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2925, allocations: 7.875 kB / 435.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.2925, allocations: 3.984 kB / 435.8 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.2927, allocations: 140.7 kB / 435.9 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.2927, allocations: 0 / 435.9 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.379e-05/0.2928, allocations: 11.98 kB / 435.9 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.2928, allocations: 4 kB / 435.9 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.2928, allocations: 0 / 435.9 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2928, allocations: 4.062 kB / 435.9 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2928, allocations: 3.938 kB / 435.9 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.293, allocations: 181.1 kB / 436.1 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.293, allocations: 15.94 kB / 436.1 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.2931, allocations: 4 kB / 436.1 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.607e-05/0.2931, allocations: 7.938 kB / 436.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.2932, allocations: 7.922 kB / 436.1 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.2932, allocations: 4 kB / 436.1 MB, free: 1.227 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.993e-05/0.2932, allocations: 107.3 kB / 436.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2932, allocations: 0 / 436.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002252/0.2935, allocations: 12 kB / 436.3 MB, free: 1.109 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (4): * Single equations (assignments): 4 * 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.0005341/0.294, allocations: 0.7063 MB / 437 MB, free: 380 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001475/0.2942, allocations: 35.92 kB / 437 MB, free: 344 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2942, allocations: 0 / 437 MB, free: 344 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.662e-05/0.2942, allocations: 7.984 kB / 437 MB, free: 336 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.2946, allocations: 38.36 kB / 437 MB, free: 304 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.296, allocations: 1.405 MB / 438.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.131e-05/0.2961, allocations: 75.33 kB / 438.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.39e-05/0.2961, allocations: 12.17 kB / 438.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.895e-05/0.2962, allocations: 15.67 kB / 438.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2962, allocations: 0 / 438.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02877/0.325, allocations: 2.276 MB / 440.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.18, allocations: 7.922 kB / 440.8 MB, free: 12.52 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.csv --start-time 0 --stop-time 0.08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.59331e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.624873412016314]