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.001428/0.001428, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.001501/0.001501, allocations: 219 kB / 23 MB, free: 5.609 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.551/1.551, allocations: 230.5 MB / 256.5 MB, free: 8.402 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.002341/0.002341, allocations: 67.83 kB / 376.2 MB, free: 4.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3036, allocations: 53.32 MB / 429.5 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003648/0.3072, allocations: 1.892 MB / 431.4 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.3092, allocations: 0.7555 MB / 432.2 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00015/0.3093, allocations: 4 kB / 432.2 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.3096, allocations: 27.67 kB / 432.2 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.3098, allocations: 27.78 kB / 432.2 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008635/0.3106, allocations: 171 kB / 432.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003458/0.311, allocations: 159.5 kB / 432.6 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.3112, allocations: 37.53 kB / 432.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002673/0.3114, allocations: 59.72 kB / 432.7 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.3116, allocations: 63.69 kB / 432.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.169e-05/0.3116, allocations: 12 kB / 432.7 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.3118, allocations: 59.95 kB / 432.8 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.3119, allocations: 39.84 kB / 432.8 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.3121, allocations: 83.47 kB / 432.9 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004371/0.3125, allocations: 207.5 kB / 433.1 MB, free: 3.824 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3125, allocations: 0 / 433.1 MB, free: 3.824 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3125, allocations: 0 / 433.1 MB, free: 3.824 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.3125, allocations: 0 / 433.1 MB, free: 3.824 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.001081/0.3136, allocations: 478.7 kB / 433.6 MB, free: 3.309 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.3137, allocations: 12.03 kB / 433.6 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.679e-05/0.3137, allocations: 42.67 kB / 433.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002774/0.314, allocations: 36.78 kB / 433.7 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005108/0.3145, allocations: 244.2 kB / 433.9 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.3145, allocations: 8.562 kB / 433.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.3146, allocations: 11.94 kB / 433.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.3157, allocations: 330.2 kB / 434.3 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.3157, allocations: 0 / 434.3 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.3157, allocations: 8 kB / 434.3 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3157, allocations: 0 / 434.3 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003898/0.3161, allocations: 83.94 kB / 434.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006767/0.3168, allocations: 345.5 kB / 434.7 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008187/0.3176, allocations: 258.2 kB / 434.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000293/0.3179, allocations: 89.95 kB / 435 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/0.319, allocations: 0.5934 MB / 435.6 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/0.319, allocations: 38.55 kB / 435.7 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.994e-06/0.319, allocations: 0 / 435.7 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009938/0.32, allocations: 241.3 kB / 435.9 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001826/0.3202, allocations: 118.8 kB / 436 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.3205, allocations: 191.2 kB / 436.2 MB, free: 364 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.3205, allocations: 29.7 kB / 436.2 MB, free: 328 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.3206, allocations: 104.6 kB / 436.3 MB, free: 216 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.397e-05/0.3207, allocations: 19.89 kB / 436.3 MB, free: 196 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.3208, allocations: 37.7 kB / 436.4 MB, free: 152 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002796/0.3211, allocations: 330.9 kB / 436.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.3212, allocations: 35.97 kB / 436.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.3215, allocations: 166.6 kB / 436.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004511/0.3219, allocations: 208.1 kB / 437.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.3219, allocations: 4 kB / 437.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005783/0.3225, allocations: 213.1 kB / 437.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.3225, allocations: 8.594 kB / 437.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.3226, allocations: 4 kB / 437.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/0.3226, allocations: 12 kB / 437.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.3228, allocations: 43.91 kB / 437.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.808e-05/0.3229, allocations: 7.938 kB / 437.4 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.323, allocations: 23.83 kB / 437.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.3231, allocations: 16 kB / 437.4 MB, free: 14.96 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.0002235/0.3233, allocations: 149.6 kB / 437.6 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000587/0.3239, allocations: 176.2 kB / 437.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006108/0.3245, allocations: 179.3 kB / 437.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.3245, allocations: 4 kB / 437.9 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.3245, allocations: 0 / 437.9 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.183e-05/0.3245, allocations: 3.984 kB / 437.9 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004239/0.325, allocations: 237.4 kB / 438.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.325, allocations: 4 kB / 438.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.3252, allocations: 27.98 kB / 438.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.3252, allocations: 4 kB / 438.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.3252, allocations: 0 / 438.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.095e-05/0.3252, allocations: 7.984 kB / 438.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3253, allocations: 0 / 438.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007222/0.326, allocations: 291.3 kB / 438.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.3261, allocations: 112.9 kB / 438.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.7e-05/0.3262, allocations: 12 kB / 438.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.3263, allocations: 15.98 kB / 438.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.3264, allocations: 0 / 438.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.3264, allocations: 4 kB / 438.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001441/0.3265, allocations: 147 kB / 438.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3265, allocations: 0 / 438.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003174/0.3269, allocations: 28 kB / 438.8 MB, free: 13.48 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.001161/0.328, allocations: 0.9265 MB / 439.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000382/0.3284, allocations: 143.7 kB / 439.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3284, allocations: 0 / 439.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.989e-05/0.3284, allocations: 7.984 kB / 439.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006881/0.3291, allocations: 151.5 kB / 440 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002859/0.332, allocations: 2.174 MB / 442.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/0.3324, allocations: 0.732 MB / 442.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.045e-05/0.3325, allocations: 17.55 kB / 442.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.597e-05/0.3326, allocations: 47.42 kB / 443 MB, free: 9.035 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3326, allocations: 0 / 443 MB, free: 9.035 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/0.3627, allocations: 4.298 MB / 447.3 MB, free: 4.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.053/8.416, allocations: 13.36 kB / 447.3 MB, free: 4.832 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 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.893196491000708] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 8.485092852002708 8.498968913 8.183241142 Calling exit ...