Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.001744/0.001744, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.00218/0.00218, allocations: 212 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 258.3 MB, free: 8.066 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-beta.om/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.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 68.75 kB / 378.6 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2631, allocations: 53.36 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003443/0.2665, allocations: 1.891 MB / 433.8 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.2681, allocations: 0.7749 MB / 434.6 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.2682, allocations: 0 / 434.6 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001515/0.2683, allocations: 31.72 kB / 434.6 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.2685, allocations: 23.8 kB / 434.6 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005632/0.2691, allocations: 166.3 kB / 434.8 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002408/0.2693, allocations: 155.6 kB / 435 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.2695, allocations: 41.66 kB / 435 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.2696, allocations: 63.77 kB / 435.1 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.2697, allocations: 63.64 kB / 435.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.213e-05/0.2698, allocations: 16 kB / 435.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.2699, allocations: 55.95 kB / 435.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.26e-05/0.27, allocations: 39.84 kB / 435.2 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.041e-05/0.27, allocations: 71.53 kB / 435.3 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.2703, allocations: 211.9 kB / 435.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2703, allocations: 3.938 kB / 435.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2704, allocations: 4 kB / 435.5 MB, free: 3.301 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.2704, allocations: 0 / 435.5 MB, free: 3.301 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.000815/0.2712, allocations: 405.6 kB / 435.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.2712, allocations: 8.031 kB / 435.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.585e-05/0.2713, allocations: 42.75 kB / 436 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.2714, allocations: 32.78 kB / 436 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.2718, allocations: 194.9 kB / 436.2 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.2718, allocations: 8.562 kB / 436.2 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.2718, allocations: 11.94 kB / 436.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007197/0.2725, allocations: 327 kB / 436.5 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.2726, allocations: 0 / 436.5 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.2726, allocations: 0 / 436.5 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.2726, allocations: 4 kB / 436.5 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003545/0.2729, allocations: 87.88 kB / 436.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004289/0.2734, allocations: 316.6 kB / 436.9 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004527/0.2738, allocations: 185.3 kB / 437.1 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002307/0.2741, allocations: 85.73 kB / 437.2 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003787/0.2744, allocations: 59.94 kB / 437.3 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.2745, allocations: 42.55 kB / 437.3 MB, free: 1.367 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.323e-06/0.2745, allocations: 0 / 437.3 MB, free: 1.367 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006655/0.2751, allocations: 237.2 kB / 437.5 MB, free: 1.129 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.779e-05/0.2752, allocations: 114.8 kB / 437.6 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.2754, allocations: 202.6 kB / 437.8 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.2755, allocations: 25.7 kB / 437.9 MB, free: 0.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.32e-05/0.2755, allocations: 104.6 kB / 438 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.2756, allocations: 23.83 kB / 438 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-05/0.2756, allocations: 41.7 kB / 438 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.2758, allocations: 326.8 kB / 438.3 MB, free: 248 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.702e-05/0.2758, allocations: 43.97 kB / 438.4 MB, free: 204 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.2761, allocations: 158.8 kB / 438.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.2763, allocations: 208.1 kB / 438.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2763, allocations: 0 / 438.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003378/0.2767, allocations: 221 kB / 439 MB, free: 15.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.2767, allocations: 8 kB / 439 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.2767, allocations: 4 kB / 439 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.2767, allocations: 4 kB / 439 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.2769, allocations: 44.5 kB / 439 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.2769, allocations: 15.92 kB / 439 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.277, allocations: 23.89 kB / 439.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.277, allocations: 8 kB / 439.1 MB, free: 15.39 MB / 350.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.0001749/0.2772, allocations: 157.7 kB / 439.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003107/0.2775, allocations: 168.2 kB / 439.4 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003542/0.2779, allocations: 175.3 kB / 439.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.2779, allocations: 4 kB / 439.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2779, allocations: 4 kB / 439.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2779, allocations: 3.984 kB / 439.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.2781, allocations: 200.5 kB / 439.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.2781, allocations: 3.984 kB / 439.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.2783, allocations: 31.92 kB / 439.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.2783, allocations: 4 kB / 439.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.2783, allocations: 4 kB / 439.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2783, allocations: 0 / 439.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.2783, allocations: 4 kB / 439.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004077/0.2787, allocations: 288.1 kB / 440.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.903e-05/0.2788, allocations: 35.83 kB / 440.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.592e-05/0.2788, allocations: 11.98 kB / 440.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.2789, allocations: 4 kB / 440.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.279, allocations: 15.92 kB / 440.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.921e-05/0.279, allocations: 8 kB / 440.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001735/0.2792, allocations: 152 kB / 440.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2792, allocations: 0 / 440.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003056/0.2795, allocations: 28 kB / 440.3 MB, free: 14.04 MB / 350.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.0009566/0.2804, allocations: 0.926 MB / 441.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003242/0.2808, allocations: 140.8 kB / 441.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2808, allocations: 0 / 441.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.891e-05/0.2808, allocations: 11.98 kB / 441.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000582/0.2814, allocations: 141.5 kB / 441.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.2838, allocations: 2.174 MB / 443.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.2841, allocations: 0.736 MB / 444.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.676e-05/0.2842, allocations: 17.47 kB / 444.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.5e-05/0.2843, allocations: 47.42 kB / 444.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2843, allocations: 0 / 444.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02746/0.3117, allocations: 4.427 MB / 449 MB, free: 5.281 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.882/8.194, allocations: 2.969 kB / 449 MB, free: 5.281 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_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_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.67144129704684] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 8.263238125946373 8.278910847 8.005360525 Calling exit ...