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.001811/0.001811, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.002524/0.002524, allocations: 207.4 kB / 24.53 MB, free: 4.07 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.597/1.597, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.003029/0.003029, allocations: 55.91 kB / 378.6 MB, free: 3.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2934, allocations: 53.41 MB / 432 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002847/0.2962, allocations: 1.541 MB / 433.5 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004479/0.2967, allocations: 151.4 kB / 433.7 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.085e-05/0.2968, allocations: 4 kB / 433.7 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.2969, allocations: 3.938 kB / 433.7 MB, free: 5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.183e-05/0.297, allocations: 11.92 kB / 433.7 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.2972, allocations: 43.84 kB / 433.7 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000105/0.2973, allocations: 39.84 kB / 433.8 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.2974, allocations: 8 kB / 433.8 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.773e-05/0.2974, allocations: 19.92 kB / 433.8 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.793e-05/0.2975, allocations: 15.92 kB / 433.8 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.2975, allocations: 4 kB / 433.8 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.338e-06/0.2975, allocations: 0 / 433.8 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.177e-05/0.2976, allocations: 19.94 kB / 433.8 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.555e-05/0.2976, allocations: 27.78 kB / 433.9 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.2977, allocations: 55.5 kB / 433.9 MB, free: 4.762 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2977, allocations: 4 kB / 433.9 MB, free: 4.758 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.2977, allocations: 4 kB / 433.9 MB, free: 4.754 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.2977, allocations: 0 / 433.9 MB, free: 4.754 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.0004413/0.2982, allocations: 303 kB / 434.2 MB, free: 4.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.2982, allocations: 8.031 kB / 434.2 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.722e-05/0.2982, allocations: 4.188 kB / 434.2 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.1e-05/0.2983, allocations: 30.75 kB / 434.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/0.2983, allocations: 8.891 kB / 434.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.2985, allocations: 138.4 kB / 434.4 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.2985, allocations: 384 / 434.4 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.2986, allocations: 8.375 kB / 434.4 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.2988, allocations: 122.1 kB / 434.5 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.2988, allocations: 15.88 kB / 434.5 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.2988, allocations: 3.984 kB / 434.5 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.645e-05/0.2989, allocations: 7.984 kB / 434.6 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.683e-05/0.2989, allocations: 23.98 kB / 434.6 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003887/0.2993, allocations: 336.9 kB / 434.9 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.2995, allocations: 83.75 kB / 435 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.914e-05/0.2995, allocations: 26.64 kB / 435 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.741e-06/0.2995, allocations: 0 / 435 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.2996, allocations: 46.55 kB / 435.1 MB, free: 3.434 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.2996, allocations: 0 / 435.1 MB, free: 3.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002924/0.2999, allocations: 89.5 kB / 435.1 MB, free: 3.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.955e-05/0.2999, allocations: 106.8 kB / 435.2 MB, free: 3.211 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.3001, allocations: 138.2 kB / 435.4 MB, free: 3.066 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.3001, allocations: 33.7 kB / 435.4 MB, free: 3.027 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.711e-05/0.3001, allocations: 88.14 kB / 435.5 MB, free: 2.938 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.281e-05/0.3001, allocations: 7.891 kB / 435.5 MB, free: 2.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.599e-05/0.3002, allocations: 21.7 kB / 435.5 MB, free: 2.902 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3003, allocations: 318.8 kB / 435.8 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.929e-05/0.3004, allocations: 11.98 kB / 435.9 MB, free: 2.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.887e-05/0.3005, allocations: 43.42 kB / 435.9 MB, free: 2.516 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.794e-05/0.3005, allocations: 47.36 kB / 435.9 MB, free: 2.457 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3006, allocations: 0 / 435.9 MB, free: 2.457 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001529/0.3007, allocations: 81.5 kB / 436 MB, free: 2.371 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.3007, allocations: 10.34 kB / 436 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3007, allocations: 0 / 436 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3007, allocations: 0 / 436 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.967e-05/0.3008, allocations: 4 kB / 436 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3008, allocations: 0 / 436 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.827e-05/0.3008, allocations: 4 kB / 436 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.3008, allocations: 3.984 kB / 436 MB, free: 2.352 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.0001088/0.3009, allocations: 125.9 kB / 436.2 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.325e-05/0.301, allocations: 57.58 kB / 436.2 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.976e-05/0.301, allocations: 15.92 kB / 436.2 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.3011, allocations: 3.984 kB / 436.2 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3011, allocations: 4 kB / 436.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3011, allocations: 0 / 436.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.3013, allocations: 148.6 kB / 436.4 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3013, allocations: 0 / 436.4 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.201e-06/0.3013, allocations: 3.938 kB / 436.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.3013, allocations: 4 kB / 436.4 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.3013, allocations: 8.016 kB / 436.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3013, allocations: 0 / 436.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3013, allocations: 4 kB / 436.4 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.3015, allocations: 255.5 kB / 436.7 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/0.3016, allocations: 15.94 kB / 436.7 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.3016, allocations: 4 kB / 436.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.347e-05/0.3017, allocations: 11.98 kB / 436.7 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.3017, allocations: 4 kB / 436.7 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.3017, allocations: 4 kB / 436.7 MB, free: 1.613 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.319e-05/0.3018, allocations: 107.2 kB / 436.8 MB, free: 1.508 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3018, allocations: 0 / 436.8 MB, free: 1.508 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.3021, allocations: 4 kB / 436.8 MB, free: 1.504 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.0005338/0.3026, allocations: 0.7867 MB / 437.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.3027, allocations: 40.09 kB / 437.6 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3027, allocations: 4.062 kB / 437.6 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.75e-05/0.3028, allocations: 15.98 kB / 437.7 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.3032, allocations: 23.58 kB / 437.7 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.3047, allocations: 1.461 MB / 439.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.305, allocations: 0.6885 MB / 439.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.393e-05/0.305, allocations: 12.03 kB / 439.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.305, allocations: 23.42 kB / 439.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of SimCode: time 1.012e-06/0.305, allocations: 0 / 439.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.3265, allocations: 1.84 MB / 441.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.22, allocations: 11 kB / 441.7 MB, free: 12.57 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.869588606990874] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y[1]', 'sample1.y[2]'] 11.387126500019804 11.402685058 11.101483755 Calling exit ...