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.SampleVectorizedAndClocked.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.001829/0.001829, allocations: 106.5 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.002481/0.002481, allocations: 209.3 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.627/1.627, allocations: 230.6 MB / 258.3 MB, free: 8.062 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.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",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.002836/0.002836, allocations: 64.77 kB / 378.6 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3491, allocations: 53.36 MB / 431.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003131/0.3522, allocations: 1.651 MB / 433.6 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.3533, allocations: 0.561 MB / 434.1 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.871e-05/0.3534, allocations: 7.938 kB / 434.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.535e-05/0.3535, allocations: 11.88 kB / 434.2 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.3536, allocations: 19.84 kB / 434.2 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.3539, allocations: 63.81 kB / 434.2 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.354, allocations: 63.72 kB / 434.3 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.3541, allocations: 11.98 kB / 434.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.3543, allocations: 39.91 kB / 434.3 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.705e-05/0.3543, allocations: 27.84 kB / 434.4 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.3544, allocations: 8 kB / 434.4 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.485e-05/0.3544, allocations: 8 kB / 434.4 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.815e-05/0.3545, allocations: 23.86 kB / 434.4 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.829e-05/0.3545, allocations: 31.8 kB / 434.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.3547, allocations: 84.31 kB / 434.5 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3547, allocations: 0 / 434.5 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3547, allocations: 0 / 434.5 MB, free: 4.293 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.3547, allocations: 0 / 434.5 MB, free: 4.293 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005701/0.3553, allocations: 321.9 kB / 434.8 MB, free: 3.949 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3553, allocations: 12.03 kB / 434.9 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.557e-05/0.3553, allocations: 34.75 kB / 434.9 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002238/0.3556, allocations: 28.86 kB / 434.9 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.3558, allocations: 146.3 kB / 435.1 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.3559, allocations: 8.375 kB / 435.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.3559, allocations: 4.312 kB / 435.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003223/0.3562, allocations: 133.9 kB / 435.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3562, allocations: 3.938 kB / 435.2 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3562, allocations: 4 kB / 435.2 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/0.3562, allocations: 4 kB / 435.2 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.3564, allocations: 35.97 kB / 435.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005112/0.3569, allocations: 356.8 kB / 435.6 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.357, allocations: 83.77 kB / 435.7 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.655e-05/0.3571, allocations: 34.62 kB / 435.7 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.3571, allocations: 4 kB / 435.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.3572, allocations: 34.56 kB / 435.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.3572, allocations: 0 / 435.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003863/0.3576, allocations: 121.5 kB / 435.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.074e-05/0.3576, allocations: 106.8 kB / 436 MB, free: 2.637 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.3578, allocations: 154.2 kB / 436.1 MB, free: 2.477 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.3578, allocations: 29.7 kB / 436.2 MB, free: 2.441 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.191e-05/0.3579, allocations: 92.47 kB / 436.2 MB, free: 2.348 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.3579, allocations: 11.95 kB / 436.3 MB, free: 2.336 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.358, allocations: 21.7 kB / 436.3 MB, free: 2.309 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3581, allocations: 318.8 kB / 436.6 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.641e-05/0.3582, allocations: 23.97 kB / 436.6 MB, free: 1.965 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.8e-05/0.3583, allocations: 39.42 kB / 436.6 MB, free: 1.914 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.3584, allocations: 63.34 kB / 436.7 MB, free: 1.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3584, allocations: 0 / 436.7 MB, free: 1.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002053/0.3586, allocations: 97.55 kB / 436.8 MB, free: 1.738 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.3586, allocations: 8 kB / 436.8 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.3586, allocations: 96 / 436.8 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.3587, allocations: 3.984 kB / 436.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.775e-05/0.3588, allocations: 15.98 kB / 436.8 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3588, allocations: 0 / 436.8 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.957e-05/0.3588, allocations: 4 kB / 436.8 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.3588, allocations: 7.984 kB / 436.8 MB, free: 1.699 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001087/0.3589, allocations: 117.8 kB / 437 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.359, allocations: 61.58 kB / 437 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.254e-05/0.3591, allocations: 11.92 kB / 437 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.007e-05/0.3591, allocations: 11.98 kB / 437 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3591, allocations: 0 / 437 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3591, allocations: 0 / 437 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.3594, allocations: 160.5 kB / 437.2 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.3594, allocations: 7.938 kB / 437.2 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.315e-05/0.3594, allocations: 8 kB / 437.2 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3594, allocations: 0 / 437.2 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3594, allocations: 8.016 kB / 437.2 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.3595, allocations: 4 kB / 437.2 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3595, allocations: 0 / 437.2 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003045/0.3598, allocations: 271.5 kB / 437.5 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.3598, allocations: 19.88 kB / 437.5 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.3598, allocations: 8 kB / 437.5 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.3599, allocations: 4 kB / 437.5 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.36, allocations: 7.984 kB / 437.5 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.36, allocations: 0 / 437.5 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.353e-05/0.3601, allocations: 120.1 kB / 437.6 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3601, allocations: 0 / 437.6 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.3604, allocations: 8 kB / 437.7 MB, free: 0.8047 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0006222/0.361, allocations: 0.8139 MB / 438.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002068/0.3612, allocations: 56.09 kB / 438.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3612, allocations: 0 / 438.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.404e-05/0.3613, allocations: 23.97 kB / 438.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.3617, allocations: 21.33 kB / 438.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.3635, allocations: 1.577 MB / 440.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.3639, allocations: 0.7109 MB / 440.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.632e-05/0.3639, allocations: 4 kB / 440.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.364, allocations: 23.42 kB / 440.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.364, allocations: 0 / 440.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.3897, allocations: 1.955 MB / 442.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.344/8.734, allocations: 7.938 kB / 442.8 MB, free: 11.58 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.317256706301123] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y[1]', 'sample1.y[2]'] 8.812248393893242 8.831741477 8.473247094 Calling exit ...