Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.0015/0.0015, allocations: 105.1 kB / 21.22 MB, free: 0.6797 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.001448/0.001448, allocations: 209.9 kB / 24.54 MB, free: 4.055 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.552/1.552, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",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.002184/0.002184, allocations: 64.77 kB / 378.5 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3929, allocations: 53.38 MB / 431.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003642/0.3966, allocations: 1.581 MB / 433.5 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.3979, allocations: 0.5687 MB / 434.1 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.398, allocations: 7.938 kB / 434.1 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.82e-05/0.3981, allocations: 3.938 kB / 434.1 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.3982, allocations: 15.91 kB / 434.1 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004181/0.3986, allocations: 67.75 kB / 434.2 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.3988, allocations: 43.8 kB / 434.2 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.399, allocations: 12.17 kB / 434.2 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.3991, allocations: 31.91 kB / 434.2 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.754e-05/0.3992, allocations: 23.86 kB / 434.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.3992, allocations: 0 / 434.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.188e-05/0.3993, allocations: 8 kB / 434.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.777e-05/0.3993, allocations: 15.88 kB / 434.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.457e-05/0.3994, allocations: 31.78 kB / 434.3 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.3996, allocations: 60.47 kB / 434.4 MB, free: 4.426 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.3996, allocations: 4 kB / 434.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3996, allocations: 0 / 434.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.3996, allocations: 7.984 kB / 434.4 MB, free: 4.414 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.000656/0.4003, allocations: 298 kB / 434.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.4004, allocations: 12.03 kB / 434.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.161e-05/0.4004, allocations: 34.75 kB / 434.7 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002219/0.4006, allocations: 16.88 kB / 434.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004762/0.4011, allocations: 146.4 kB / 434.9 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.4011, allocations: 384 / 434.9 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.4012, allocations: 12.31 kB / 434.9 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003625/0.4015, allocations: 105 kB / 435 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.4015, allocations: 0 / 435 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.4016, allocations: 11.94 kB / 435 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.4016, allocations: 0 / 435 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.346e-05/0.4016, allocations: 19.98 kB / 435 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004628/0.4021, allocations: 228.8 kB / 435.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.4022, allocations: 49.14 kB / 435.3 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.442e-05/0.4023, allocations: 17.78 kB / 435.3 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/0.4023, allocations: 7.969 kB / 435.3 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.927e-05/0.4024, allocations: 30.56 kB / 435.4 MB, free: 3.285 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 4.468e-06/0.4024, allocations: 7.984 kB / 435.4 MB, free: 3.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003069/0.4027, allocations: 73.66 kB / 435.4 MB, free: 3.199 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.4028, allocations: 81.05 kB / 435.5 MB, free: 3.102 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.403, allocations: 137.8 kB / 435.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.403, allocations: 25.7 kB / 435.7 MB, free: 2.926 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.419e-05/0.4031, allocations: 92.12 kB / 435.8 MB, free: 2.832 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.4031, allocations: 3.953 kB / 435.8 MB, free: 2.828 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.4032, allocations: 17.72 kB / 435.8 MB, free: 2.805 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002286/0.4034, allocations: 322.9 kB / 436.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.587e-05/0.4035, allocations: 7.984 kB / 436.1 MB, free: 2.473 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.876e-05/0.4035, allocations: 21.7 kB / 436.1 MB, free: 2.445 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.218e-05/0.4036, allocations: 21.72 kB / 436.2 MB, free: 2.418 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.4036, allocations: 4 kB / 436.2 MB, free: 2.414 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001515/0.4037, allocations: 65.62 kB / 436.2 MB, free: 2.344 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.4038, allocations: 4 kB / 436.2 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.4038, allocations: 0 / 436.2 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.4038, allocations: 0 / 436.2 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.745e-05/0.4039, allocations: 8 kB / 436.2 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.4039, allocations: 0 / 436.2 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.159e-05/0.4039, allocations: 7.922 kB / 436.2 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.4039, allocations: 4 kB / 436.2 MB, free: 2.32 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001378/0.4041, allocations: 121.8 kB / 436.4 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.543e-05/0.4042, allocations: 45.58 kB / 436.4 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.415e-05/0.4042, allocations: 11.77 kB / 436.4 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.4042, allocations: 4 kB / 436.4 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4042, allocations: 3.938 kB / 436.4 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4042, allocations: 0 / 436.4 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.4045, allocations: 140.7 kB / 436.6 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.4045, allocations: 4 kB / 436.6 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.678e-05/0.4045, allocations: 7.984 kB / 436.6 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.4045, allocations: 4.031 kB / 436.6 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.4045, allocations: 0 / 436.6 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4045, allocations: 0 / 436.6 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.483e-05/0.4046, allocations: 7.984 kB / 436.6 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.4048, allocations: 160.2 kB / 436.7 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.4048, allocations: 15.94 kB / 436.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.4049, allocations: 4.031 kB / 436.8 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-05/0.4049, allocations: 8 kB / 436.8 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.405, allocations: 7.984 kB / 436.8 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.405, allocations: 0 / 436.8 MB, free: 1.707 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.4051, allocations: 109.5 kB / 436.9 MB, free: 1.602 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4051, allocations: 0 / 436.9 MB, free: 1.602 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.4053, allocations: 8 kB / 436.9 MB, free: 1.594 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005777/0.4059, allocations: 0.6898 MB / 437.6 MB, free: 0.875 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001502/0.4061, allocations: 23.97 kB / 437.6 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.4061, allocations: 4 kB / 437.6 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.694e-05/0.4061, allocations: 8.156 kB / 437.6 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.4065, allocations: 22.77 kB / 437.6 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.4081, allocations: 1.333 MB / 439 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005165/0.4086, allocations: 0.6924 MB / 439.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.714e-05/0.4087, allocations: 0 / 439.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.287e-05/0.4087, allocations: 15.44 kB / 439.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4087, allocations: 3.938 kB / 439.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.4362, allocations: 1.558 MB / 441.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.576/9.012, allocations: 14.88 kB / 441.3 MB, free: 13.19 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --stepSize=1.59331e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.517109737731516] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 9.101385517045856 9.119867682 8.716482309 Calling exit ...