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.001611/0.001611, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.001766/0.001766, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.553/1.553, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.001951/0.001951, allocations: 71.83 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.121, allocations: 53.32 MB / 427 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003446/0.1245, allocations: 1.877 MB / 428.9 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.1258, allocations: 0.7634 MB / 429.7 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.1259, allocations: 3.938 kB / 429.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.1261, allocations: 19.8 kB / 429.7 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001606/0.1262, allocations: 31.73 kB / 429.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005475/0.1268, allocations: 166.8 kB / 429.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002388/0.127, allocations: 143.6 kB / 430 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.1272, allocations: 37.55 kB / 430.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.1273, allocations: 71.64 kB / 430.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.1274, allocations: 63.62 kB / 430.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.802e-05/0.1275, allocations: 16 kB / 430.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.1276, allocations: 55.95 kB / 430.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.105e-05/0.1277, allocations: 35.91 kB / 430.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.651e-05/0.1278, allocations: 75.48 kB / 430.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.1281, allocations: 211.1 kB / 430.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1281, allocations: 0 / 430.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1281, allocations: 0 / 430.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.1281, allocations: 0 / 430.6 MB, free: 1.211 MB / 350.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.0007989/0.1289, allocations: 478.7 kB / 431 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.1289, allocations: 12.02 kB / 431 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.044e-05/0.129, allocations: 42.75 kB / 431.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.1292, allocations: 36.78 kB / 431.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003701/0.1295, allocations: 252.1 kB / 431.4 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.1296, allocations: 8.562 kB / 431.4 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.1296, allocations: 11.92 kB / 431.4 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2426/0.3722, allocations: 330.1 kB / 431.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.3722, allocations: 0 / 431.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/0.3723, allocations: 6 kB / 431.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.3723, allocations: 2.594 kB / 431.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003455/0.3726, allocations: 79.27 kB / 431.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005953/0.3732, allocations: 346.3 kB / 432.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005845/0.3738, allocations: 258.4 kB / 432.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/0.374, allocations: 92.09 kB / 432.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007003/0.3747, allocations: 0.5839 MB / 433.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.3748, allocations: 37.59 kB / 433.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.954e-06/0.3748, allocations: 1.938 kB / 433.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007537/0.3755, allocations: 234.8 kB / 433.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.239e-05/0.3756, allocations: 126 kB / 433.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.3758, allocations: 195.1 kB / 433.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3759, allocations: 25.7 kB / 433.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.985e-05/0.3759, allocations: 108.7 kB / 433.8 MB, free: 9.637 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.376, allocations: 22.36 kB / 433.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.149e-05/0.376, allocations: 41.98 kB / 433.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.605e-05/0.3761, allocations: 328.1 kB / 434.2 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.62e-05/0.3762, allocations: 38.69 kB / 434.2 MB, free: 9.301 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.3764, allocations: 167 kB / 434.4 MB, free: 9.145 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002279/0.3766, allocations: 205.1 kB / 434.6 MB, free: 8.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.3766, allocations: 3.812 kB / 434.6 MB, free: 8.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003494/0.3769, allocations: 223.9 kB / 434.8 MB, free: 8.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.377, allocations: 9.406 kB / 434.8 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.377, allocations: 2.188 kB / 434.8 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.377, allocations: 6.625 kB / 434.8 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.3771, allocations: 39.56 kB / 434.8 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.3772, allocations: 11.22 kB / 434.9 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.3773, allocations: 19.75 kB / 434.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.853e-05/0.3773, allocations: 17.2 kB / 434.9 MB, free: 8.945 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.000118/0.3774, allocations: 144.5 kB / 435 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003/0.3777, allocations: 158.5 kB / 435.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/0.3781, allocations: 178.2 kB / 435.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.3781, allocations: 2.281 kB / 435.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3781, allocations: 8.25 kB / 435.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.3781, allocations: 1.156 kB / 435.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.3783, allocations: 233.1 kB / 435.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.3783, allocations: 1.188 kB / 435.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.3785, allocations: 35.39 kB / 435.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.3785, allocations: 1.375 kB / 435.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.3785, allocations: 7.094 kB / 435.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3785, allocations: 3.656 kB / 435.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3785, allocations: 1.125 kB / 435.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004301/0.3789, allocations: 289.5 kB / 435.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.545e-05/0.379, allocations: 122.1 kB / 436 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.3791, allocations: 9.312 kB / 436.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.3792, allocations: 14.7 kB / 436.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.3792, allocations: 1.406 kB / 436.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.3792, allocations: 9.375 kB / 436.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001379/0.3794, allocations: 149.1 kB / 436.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3794, allocations: 0 / 436.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003535/0.3797, allocations: 30.48 kB / 436.3 MB, free: 8.195 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.0009232/0.3807, allocations: 0.924 MB / 437.2 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003352/0.381, allocations: 143.2 kB / 437.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.381, allocations: 4.062 kB / 437.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.986e-05/0.381, allocations: 14.19 kB / 437.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005947/0.3816, allocations: 139.2 kB / 437.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.3838, allocations: 2.161 MB / 439.6 MB, free: 5.746 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.384, allocations: 0.7368 MB / 440.4 MB, free: 5.043 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.424e-05/0.3841, allocations: 14.92 kB / 440.4 MB, free: 5.043 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.359e-05/0.3842, allocations: 45.02 kB / 440.4 MB, free: 5.012 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3842, allocations: 5 kB / 440.4 MB, free: 5.008 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03171/0.4159, allocations: 4.317 MB / 444.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.482/8.898, allocations: 7.281 kB / 444.8 MB, free: 4.512 MB / 350.1 MB " [Timeout remaining time 651] (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: 11.51889744028449] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 8.969838104210794 8.990795752 8.858998 Calling exit ...