Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001416/0.001416, allocations: 109.7 kB / 19.74 MB, free: 2.586 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.001595/0.001595, allocations: 218.3 kB / 22.92 MB, free: 5.559 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.278/1.278, allocations: 230.4 MB / 256.4 MB, free: 8.285 MB / 206.1 MB " [Timeout remaining time 179] 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.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_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.001751/0.001751, allocations: 75.83 kB / 376.1 MB, free: 4.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2206, allocations: 53.32 MB / 429.4 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002448/0.2231, allocations: 1.542 MB / 430.9 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003471/0.2234, allocations: 143.5 kB / 431.1 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.489e-05/0.2235, allocations: 4 kB / 431.1 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.354e-05/0.2236, allocations: 3.938 kB / 431.1 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.726e-05/0.2237, allocations: 7.922 kB / 431.1 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.2239, allocations: 43.84 kB / 431.1 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.577e-05/0.224, allocations: 39.84 kB / 431.2 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.745e-05/0.224, allocations: 15.98 kB / 431.2 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.163e-05/0.2241, allocations: 19.86 kB / 431.2 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.506e-05/0.2241, allocations: 19.92 kB / 431.2 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.2241, allocations: 0 / 431.2 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.268e-05/0.2241, allocations: 4 kB / 431.2 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.245e-05/0.2242, allocations: 15.92 kB / 431.2 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.37e-05/0.2242, allocations: 27.81 kB / 431.3 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.2243, allocations: 55.53 kB / 431.3 MB, free: 5.512 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.2243, allocations: 0 / 431.3 MB, free: 5.512 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2243, allocations: 0 / 431.3 MB, free: 5.512 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.2243, allocations: 0 / 431.3 MB, free: 5.512 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.0004152/0.2248, allocations: 379.7 kB / 431.7 MB, free: 5.094 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.2248, allocations: 8.031 kB / 431.7 MB, free: 5.086 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.317e-05/0.2248, allocations: 34.75 kB / 431.7 MB, free: 5.043 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.407e-05/0.2248, allocations: 8.891 kB / 431.8 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.2251, allocations: 200.2 kB / 431.9 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.2251, allocations: 4.375 kB / 432 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-06/0.2251, allocations: 384 / 432 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.2253, allocations: 126.5 kB / 432.1 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.2253, allocations: 3.938 kB / 432.1 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-06/0.2254, allocations: 0 / 432.1 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.2254, allocations: 4 kB / 432.1 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.641e-05/0.2255, allocations: 35.84 kB / 432.1 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/0.2258, allocations: 369.9 kB / 432.5 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.2259, allocations: 75.78 kB / 432.6 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.247e-05/0.226, allocations: 38.56 kB / 432.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.226, allocations: 0 / 432.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.226, allocations: 34.56 kB / 432.6 MB, free: 4 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.226, allocations: 0 / 432.6 MB, free: 4 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002756/0.2263, allocations: 97.86 kB / 432.7 MB, free: 3.898 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.516e-05/0.2264, allocations: 114.7 kB / 432.8 MB, free: 3.762 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.2265, allocations: 140.5 kB / 433 MB, free: 3.617 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.2266, allocations: 25.7 kB / 433 MB, free: 3.586 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.254e-05/0.2266, allocations: 88.14 kB / 433.1 MB, free: 3.496 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.111e-05/0.2266, allocations: 7.891 kB / 433.1 MB, free: 3.488 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.2267, allocations: 25.7 kB / 433.1 MB, free: 3.457 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.2268, allocations: 322.8 kB / 433.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.495e-05/0.2268, allocations: 11.98 kB / 433.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.302e-05/0.2269, allocations: 39.36 kB / 433.5 MB, free: 3.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.227, allocations: 55.36 kB / 433.5 MB, free: 3.004 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.227, allocations: 0 / 433.5 MB, free: 3.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001323/0.2271, allocations: 69.56 kB / 433.6 MB, free: 2.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.2271, allocations: 8 kB / 433.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.2271, allocations: 0 / 433.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.2271, allocations: 0 / 433.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.659e-05/0.2272, allocations: 7.938 kB / 433.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.2272, allocations: 4.125 kB / 433.6 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.455e-05/0.2272, allocations: 4 kB / 433.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.2272, allocations: 4 kB / 433.6 MB, free: 2.902 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: 4 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * 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 9.773e-05/0.2273, allocations: 125.8 kB / 433.8 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.399e-05/0.2274, allocations: 49.64 kB / 433.8 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.2274, allocations: 15.83 kB / 433.8 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.2274, allocations: 4 kB / 433.8 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.2274, allocations: 0 / 433.8 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.2274, allocations: 8.016 kB / 433.8 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.2277, allocations: 173.6 kB / 434 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2277, allocations: 0 / 434 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.048e-05/0.2277, allocations: 7.938 kB / 434 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2277, allocations: 3.938 kB / 434 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.2277, allocations: 0 / 434 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2277, allocations: 0 / 434 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.2277, allocations: 4 kB / 434 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.2279, allocations: 255.6 kB / 434.3 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.035e-05/0.228, allocations: 93.05 kB / 434.4 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.228, allocations: 7.984 kB / 434.4 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.647e-05/0.2281, allocations: 4 kB / 434.4 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.2281, allocations: 3.938 kB / 434.4 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-06/0.2281, allocations: 0 / 434.4 MB, free: 2.051 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.361e-05/0.2282, allocations: 118.5 kB / 434.5 MB, free: 1.938 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2282, allocations: 0 / 434.5 MB, free: 1.938 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002414/0.2284, allocations: 4 kB / 434.5 MB, free: 1.934 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: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * 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.0004971/0.2289, allocations: 0.7906 MB / 435.3 MB, free: 1.113 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001402/0.2291, allocations: 39.92 kB / 435.3 MB, free: 1.074 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2291, allocations: 0 / 435.3 MB, free: 1.074 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.707e-05/0.2291, allocations: 15.92 kB / 435.3 MB, free: 1.059 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.2295, allocations: 31.94 kB / 435.4 MB, free: 1.027 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.2308, allocations: 1.462 MB / 436.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.2311, allocations: 0.7002 MB / 437.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.229e-05/0.2311, allocations: 12.02 kB / 437.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.2312, allocations: 15.44 kB / 437.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2312, allocations: 0 / 437.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02221/0.2534, allocations: 1.674 MB / 439.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.789/7.043, allocations: 7.734 kB / 439.2 MB, free: 13.15 MB / 350.1 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.088546929997392]