Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001319/0.001319, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001642/0.001642, allocations: 210.9 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 230.5 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 55.91 kB / 378.5 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2838, allocations: 53.42 MB / 431.9 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003198/0.287, allocations: 1.534 MB / 433.4 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004704/0.2875, allocations: 147.5 kB / 433.6 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.2876, allocations: 0 / 433.6 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.2877, allocations: 3.938 kB / 433.6 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.2878, allocations: 15.86 kB / 433.6 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.2881, allocations: 39.28 kB / 433.6 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.2882, allocations: 39.86 kB / 433.7 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.2884, allocations: 11.98 kB / 433.7 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.805e-05/0.2884, allocations: 15.92 kB / 433.7 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.13e-05/0.2884, allocations: 15.88 kB / 433.7 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.2885, allocations: 7.938 kB / 433.7 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.274e-05/0.2885, allocations: 4 kB / 433.7 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.128e-05/0.2885, allocations: 23.91 kB / 433.8 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.258e-05/0.2886, allocations: 15.88 kB / 433.8 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.2887, allocations: 54 kB / 433.8 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2887, allocations: 0 / 433.8 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2887, allocations: 0 / 433.8 MB, free: 4.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.2887, allocations: 3.938 kB / 433.8 MB, free: 4.586 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.0004758/0.2892, allocations: 306 kB / 434.1 MB, free: 4.254 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2893, allocations: 8.031 kB / 434.1 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.281e-05/0.2893, allocations: 4.188 kB / 434.1 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.474e-05/0.2893, allocations: 34.73 kB / 434.2 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.639e-05/0.2893, allocations: 12.89 kB / 434.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.2896, allocations: 134.4 kB / 434.3 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.2896, allocations: 384 / 434.3 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.2896, allocations: 12.31 kB / 434.3 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.2899, allocations: 126.2 kB / 434.5 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.2899, allocations: 0 / 434.5 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.2899, allocations: 0 / 434.5 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.29, allocations: 4 kB / 434.5 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.163e-05/0.2901, allocations: 31.97 kB / 434.5 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004025/0.2905, allocations: 332.9 kB / 434.8 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.2906, allocations: 75.77 kB / 434.9 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.451e-05/0.2907, allocations: 30.64 kB / 434.9 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.2907, allocations: 0 / 434.9 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.2907, allocations: 38.55 kB / 435 MB, free: 3.277 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.2907, allocations: 0 / 435 MB, free: 3.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002915/0.291, allocations: 101.5 kB / 435.1 MB, free: 3.172 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.058e-05/0.2911, allocations: 102.8 kB / 435.2 MB, free: 3.047 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.2912, allocations: 144.4 kB / 435.3 MB, free: 2.898 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.2912, allocations: 25.7 kB / 435.3 MB, free: 2.867 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.866e-05/0.2913, allocations: 88.14 kB / 435.4 MB, free: 2.777 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.2913, allocations: 11.89 kB / 435.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.2914, allocations: 21.7 kB / 435.4 MB, free: 2.738 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.2915, allocations: 319.2 kB / 435.7 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.468e-05/0.2915, allocations: 23.98 kB / 435.8 MB, free: 2.395 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.285e-05/0.2916, allocations: 31.42 kB / 435.8 MB, free: 2.352 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.2917, allocations: 59.3 kB / 435.9 MB, free: 2.281 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.2917, allocations: 0 / 435.9 MB, free: 2.281 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001526/0.2919, allocations: 81.53 kB / 435.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.2919, allocations: 8 kB / 435.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2919, allocations: 0 / 435.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.2919, allocations: 0 / 435.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.408e-05/0.2919, allocations: 4 kB / 436 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2919, allocations: 0 / 436 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.961e-05/0.292, allocations: 4 kB / 436 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.292, allocations: 3.984 kB / 436 MB, free: 2.176 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 0.0001456/0.2921, allocations: 121.8 kB / 436.1 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.813e-05/0.2922, allocations: 61.67 kB / 436.1 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.2923, allocations: 11.92 kB / 436.2 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.2923, allocations: 3.984 kB / 436.2 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.2923, allocations: 4 kB / 436.2 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2923, allocations: 0 / 436.2 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.2925, allocations: 144.7 kB / 436.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.2925, allocations: 0 / 436.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.881e-06/0.2926, allocations: 0 / 436.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.2926, allocations: 4 kB / 436.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.2926, allocations: 3.984 kB / 436.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2926, allocations: 0 / 436.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.2926, allocations: 8.031 kB / 436.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.2928, allocations: 259.5 kB / 436.6 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.35e-05/0.2929, allocations: 15.94 kB / 436.6 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.2929, allocations: 4 kB / 436.6 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.749e-05/0.293, allocations: 0 / 436.6 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.293, allocations: 4 kB / 436.6 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.293, allocations: 8.062 kB / 436.6 MB, free: 1.453 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.589e-05/0.2931, allocations: 103.3 kB / 436.7 MB, free: 1.352 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2931, allocations: 0 / 436.7 MB, free: 1.352 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.2934, allocations: 12 kB / 436.7 MB, free: 1.34 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.0005704/0.2939, allocations: 0.7984 MB / 437.5 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001626/0.2941, allocations: 35.91 kB / 437.5 MB, free: 488 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2941, allocations: 0 / 437.5 MB, free: 488 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.545e-05/0.2942, allocations: 12 kB / 437.6 MB, free: 476 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.2946, allocations: 35.7 kB / 437.6 MB, free: 444 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.2961, allocations: 1.461 MB / 439.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.247e-05/0.2962, allocations: 75.33 kB / 439.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.72e-05/0.2962, allocations: 7.984 kB / 439.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.752e-05/0.2962, allocations: 11.44 kB / 439.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2962, allocations: 8.094 kB / 439.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02204/0.3183, allocations: 1.901 MB / 441.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.03, allocations: 15.44 kB / 441.1 MB, free: 12.96 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.539927000994794] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y[1]', 'sample1.y[2]'] 11.195864371024072 11.223817195 10.929956135 Calling exit ...