Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001654/0.001654, 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.002211/0.002211, allocations: 210.1 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.564/1.564, allocations: 230.5 MB / 258.2 MB, free: 7.797 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.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 55.91 kB / 378.5 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2896, allocations: 53.41 MB / 431.9 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.00351/0.2931, allocations: 1.552 MB / 433.5 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004211/0.2935, allocations: 135.5 kB / 433.6 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.631e-05/0.2936, allocations: 7.938 kB / 433.6 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.442e-05/0.2937, allocations: 3.938 kB / 433.6 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.419e-05/0.2938, allocations: 15.91 kB / 433.6 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.294, allocations: 35.92 kB / 433.6 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00012/0.2941, allocations: 51.77 kB / 433.7 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.2942, allocations: 10.11 kB / 433.7 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.837e-05/0.2943, allocations: 19.92 kB / 433.7 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.501e-05/0.2943, allocations: 19.86 kB / 433.7 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.2944, allocations: 4 kB / 433.7 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.34e-05/0.2944, allocations: 4 kB / 433.8 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.15e-05/0.2944, allocations: 19.88 kB / 433.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.729e-05/0.2945, allocations: 19.86 kB / 433.8 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.2946, allocations: 59.69 kB / 433.9 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2946, allocations: 0 / 433.9 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2946, allocations: 0 / 433.9 MB, free: 4.547 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.2946, allocations: 0 / 433.9 MB, free: 4.547 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.0005079/0.2951, allocations: 313.9 kB / 434.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.2952, allocations: 11.97 kB / 434.2 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.637e-05/0.2952, allocations: 4.188 kB / 434.2 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.737e-05/0.2952, allocations: 38.73 kB / 434.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.2953, allocations: 8.891 kB / 434.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.2956, allocations: 145.1 kB / 434.4 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.2956, allocations: 4.375 kB / 434.4 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.2956, allocations: 384 / 434.4 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.2959, allocations: 126.2 kB / 434.5 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.2959, allocations: 4 kB / 434.5 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.2959, allocations: 0 / 434.5 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/0.2959, allocations: 7.984 kB / 434.5 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.2961, allocations: 39.91 kB / 434.5 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000427/0.2965, allocations: 340.9 kB / 434.9 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.2966, allocations: 71.84 kB / 434.9 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.16e-05/0.2967, allocations: 42.55 kB / 435 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.839e-06/0.2967, allocations: 4 kB / 435 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.2967, allocations: 30.56 kB / 435 MB, free: 3.199 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.2967, allocations: 0 / 435 MB, free: 3.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003468/0.2971, allocations: 117.5 kB / 435.1 MB, free: 3.078 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.776e-05/0.2972, allocations: 110.8 kB / 435.2 MB, free: 2.945 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.2973, allocations: 133.8 kB / 435.4 MB, free: 2.805 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.2973, allocations: 25.7 kB / 435.4 MB, free: 2.773 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.048e-05/0.2974, allocations: 96.12 kB / 435.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.319e-05/0.2974, allocations: 3.953 kB / 435.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.2974, allocations: 22.09 kB / 435.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.2976, allocations: 322.8 kB / 435.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.698e-05/0.2976, allocations: 19.98 kB / 435.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.474e-05/0.2977, allocations: 43.36 kB / 435.9 MB, free: 2.246 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.2979, allocations: 55.34 kB / 435.9 MB, free: 2.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2979, allocations: 0 / 435.9 MB, free: 2.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000188/0.298, allocations: 93.48 kB / 436 MB, free: 2.082 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.2981, allocations: 4 kB / 436 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.2981, allocations: 4 kB / 436 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.2981, allocations: 96 / 436 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.2982, allocations: 19.91 kB / 436.1 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.2982, allocations: 4 kB / 436.1 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.681e-05/0.2983, allocations: 4.125 kB / 436.1 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.2983, allocations: 4 kB / 436.1 MB, free: 2.043 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[2],sample1.u[1],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.0001507/0.2984, allocations: 125.8 kB / 436.2 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.2985, allocations: 53.64 kB / 436.3 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.964e-05/0.2986, allocations: 15.92 kB / 436.3 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.2986, allocations: 0 / 436.3 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2986, allocations: 4 kB / 436.3 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2986, allocations: 3.938 kB / 436.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.2988, allocations: 144.7 kB / 436.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2988, allocations: 0 / 436.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.63e-05/0.2989, allocations: 16.02 kB / 436.4 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2989, allocations: 0 / 436.4 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.2989, allocations: 4 kB / 436.4 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.2989, allocations: 0 / 436.4 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2989, allocations: 0 / 436.4 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/0.2992, allocations: 267.5 kB / 436.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.271e-05/0.2992, allocations: 15.92 kB / 436.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.2992, allocations: 7.938 kB / 436.7 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.2993, allocations: 12 kB / 436.7 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.2994, allocations: 7.984 kB / 436.7 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.2994, allocations: 0 / 436.7 MB, free: 1.297 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.146e-05/0.2995, allocations: 110 kB / 436.8 MB, free: 1.191 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2995, allocations: 0 / 436.8 MB, free: 1.191 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002773/0.2998, allocations: 7.938 kB / 436.9 MB, free: 1.184 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[2],sample1.u[1],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.0006586/0.3004, allocations: 0.7945 MB / 437.7 MB, free: 368 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002163/0.3006, allocations: 51.91 kB / 437.7 MB, free: 316 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3006, allocations: 0 / 437.7 MB, free: 316 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.234e-05/0.3007, allocations: 23.86 kB / 437.7 MB, free: 292 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.3012, allocations: 23.58 kB / 437.7 MB, free: 272 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.3029, allocations: 1.497 MB / 439.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.12e-05/0.303, allocations: 83.31 kB / 439.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.24e-05/0.303, allocations: 4 kB / 439.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.402e-05/0.3031, allocations: 19.42 kB / 439.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3031, allocations: 0 / 439.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02121/0.3243, allocations: 1.912 MB / 441.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.16, allocations: 14.53 kB / 441.3 MB, free: 12.74 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.812214314006269] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y[1]', 'sample1.y[2]'] 11.324071806971915 11.34597208 11.047225709 Calling exit ...