Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.001969/0.001969, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.002474/0.002474, allocations: 183.9 kB / 23.72 MB, free: 4.699 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.545/1.545, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 47.92 kB / 370.5 MB, free: 9.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2803, allocations: 52.19 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003479/0.2838, allocations: 1.891 MB / 424.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.2852, allocations: 0.6855 MB / 425.2 MB, free: 12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.2853, allocations: 7.938 kB / 425.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.2854, allocations: 23.78 kB / 425.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001558/0.2856, allocations: 27.78 kB / 425.3 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006071/0.2862, allocations: 147.6 kB / 425.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.2864, allocations: 151.6 kB / 425.6 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.2866, allocations: 45.72 kB / 425.6 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.2867, allocations: 59.72 kB / 425.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.2868, allocations: 59.69 kB / 425.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.163e-05/0.2869, allocations: 19.88 kB / 425.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.287, allocations: 47.97 kB / 425.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.017e-05/0.2871, allocations: 39.89 kB / 425.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.996e-05/0.2872, allocations: 75.48 kB / 425.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003303/0.2875, allocations: 199.6 kB / 426.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2875, allocations: 0 / 426.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2875, allocations: 0 / 426.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.2875, allocations: 4 kB / 426.1 MB, free: 11.11 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008275/0.2883, allocations: 409.5 kB / 426.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.2884, allocations: 12.03 kB / 426.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.532e-05/0.2885, allocations: 42.69 kB / 426.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.066e-05/0.2885, allocations: 16.84 kB / 426.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.2889, allocations: 187.3 kB / 426.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.2889, allocations: 8.562 kB / 426.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.289, allocations: 11.94 kB / 426.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007251/0.2897, allocations: 333.5 kB / 427.1 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.2897, allocations: 3.938 kB / 427.1 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.2897, allocations: 4 kB / 427.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.2897, allocations: 4 kB / 427.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002467/0.29, allocations: 79.94 kB / 427.2 MB, free: 9.941 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004544/0.2904, allocations: 316.6 kB / 427.5 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004677/0.2909, allocations: 181 kB / 427.7 MB, free: 9.391 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/0.2911, allocations: 93.95 kB / 427.8 MB, free: 9.293 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004265/0.2915, allocations: 55.94 kB / 427.8 MB, free: 9.238 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.2916, allocations: 42.55 kB / 427.9 MB, free: 9.188 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.443e-06/0.2916, allocations: 0 / 427.9 MB, free: 9.188 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006042/0.2922, allocations: 241.2 kB / 428.1 MB, free: 8.945 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.343e-05/0.2923, allocations: 110.8 kB / 428.2 MB, free: 8.812 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.2925, allocations: 198.3 kB / 428.4 MB, free: 8.609 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.2925, allocations: 33.7 kB / 428.4 MB, free: 8.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.754e-05/0.2926, allocations: 104.6 kB / 428.5 MB, free: 8.461 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.2926, allocations: 19.89 kB / 428.6 MB, free: 8.441 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.859e-05/0.2927, allocations: 37.7 kB / 428.6 MB, free: 8.398 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.2928, allocations: 326.8 kB / 428.9 MB, free: 8.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.63e-05/0.2929, allocations: 39.97 kB / 429 MB, free: 8.031 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.2931, allocations: 163 kB / 429.1 MB, free: 7.812 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.2934, allocations: 216.1 kB / 429.3 MB, free: 7.543 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2934, allocations: 7.875 kB / 429.3 MB, free: 7.535 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003439/0.2937, allocations: 217.2 kB / 429.5 MB, free: 7.316 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.2937, allocations: 11.28 kB / 429.6 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.2937, allocations: 4 kB / 429.6 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.2938, allocations: 8 kB / 429.6 MB, free: 7.297 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.2939, allocations: 39.92 kB / 429.6 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.2939, allocations: 11.92 kB / 429.6 MB, free: 7.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.294, allocations: 16.45 kB / 429.6 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.2941, allocations: 12 kB / 429.6 MB, free: 7.219 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001666/0.2942, allocations: 161.1 kB / 429.8 MB, free: 7.055 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003177/0.2945, allocations: 157.5 kB / 430 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003829/0.2949, allocations: 191.2 kB / 430.1 MB, free: 6.699 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.2949, allocations: 4 kB / 430.1 MB, free: 6.695 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2949, allocations: 4 kB / 430.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2949, allocations: 0 / 430.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.2952, allocations: 200.5 kB / 430.3 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.2952, allocations: 0 / 430.3 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.2954, allocations: 31.97 kB / 430.4 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2954, allocations: 4 kB / 430.4 MB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.2954, allocations: 4 kB / 430.4 MB, free: 6.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.2954, allocations: 4 kB / 430.4 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2954, allocations: 0 / 430.4 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004453/0.2958, allocations: 292 kB / 430.7 MB, free: 6.105 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.502e-05/0.2959, allocations: 39.81 kB / 430.7 MB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.2959, allocations: 8 kB / 430.7 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.2961, allocations: 11.98 kB / 430.7 MB, free: 6.047 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.2961, allocations: 0 / 430.7 MB, free: 6.047 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.2961, allocations: 15.98 kB / 430.7 MB, free: 6.031 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001331/0.2963, allocations: 144.3 kB / 430.9 MB, free: 5.891 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2963, allocations: 0 / 430.9 MB, free: 5.891 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003233/0.2966, allocations: 32 kB / 430.9 MB, free: 5.859 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001013/0.2976, allocations: 0.9193 MB / 431.8 MB, free: 4.914 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003502/0.298, allocations: 140.6 kB / 432 MB, free: 4.777 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.298, allocations: 4.375 kB / 432 MB, free: 4.773 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.012e-05/0.298, allocations: 12 kB / 432 MB, free: 4.762 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006354/0.2986, allocations: 145.5 kB / 432.1 MB, free: 4.613 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/0.3013, allocations: 2.16 MB / 434.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.3016, allocations: 0.7319 MB / 435 MB, free: 1.496 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.572e-05/0.3017, allocations: 13.58 kB / 435 MB, free: 1.484 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.751e-05/0.3018, allocations: 51.41 kB / 435.1 MB, free: 1.434 MB / 334.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3018, allocations: 4 kB / 435.1 MB, free: 1.43 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03321/0.335, allocations: 4.491 MB / 439.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.85, allocations: 7.922 kB / 439.6 MB, free: 13.08 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sample1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,assignClock.y,sample1.y Variables in the result:time,assignClock.u,assignClock.y,sample1.limiter.u,sample1.limiter.y,sample1.noise.u [Calling sys.exit(0), Time elapsed: 14.640930917998048]