Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001909/0.001909, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001637/0.001637, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.449/1.449, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.003226/0.003226, allocations: 68.77 kB / 378.5 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3125, allocations: 53.36 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002728/0.3152, allocations: 1.566 MB / 433.5 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003751/0.3156, allocations: 151.4 kB / 433.6 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.067e-05/0.3156, allocations: 0 / 433.6 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.682e-05/0.3157, allocations: 11.88 kB / 433.6 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.823e-05/0.3158, allocations: 7.922 kB / 433.6 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.316, allocations: 39.91 kB / 433.7 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.3161, allocations: 43.78 kB / 433.7 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.182e-05/0.3162, allocations: 8 kB / 433.7 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.68e-05/0.3163, allocations: 23.92 kB / 433.8 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.436e-05/0.3163, allocations: 23.86 kB / 433.8 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.3163, allocations: 4 kB / 433.8 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.025e-05/0.3163, allocations: 0 / 433.8 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.917e-05/0.3164, allocations: 23.92 kB / 433.8 MB, free: 5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.863e-05/0.3164, allocations: 23.8 kB / 433.8 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.3166, allocations: 55.42 kB / 433.9 MB, free: 4.926 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.3166, allocations: 0 / 433.9 MB, free: 4.926 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3166, allocations: 0 / 433.9 MB, free: 4.926 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.3166, allocations: 0 / 433.9 MB, free: 4.926 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.0004599/0.317, allocations: 315 kB / 434.2 MB, free: 4.586 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3171, allocations: 12.03 kB / 434.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.94e-05/0.3171, allocations: 34.75 kB / 434.2 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.529e-05/0.3171, allocations: 8.891 kB / 434.2 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.3174, allocations: 138.3 kB / 434.4 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.3174, allocations: 8.375 kB / 434.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.3174, allocations: 384 / 434.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002972/0.3177, allocations: 134.4 kB / 434.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.3177, allocations: 3.938 kB / 434.5 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.3177, allocations: 0 / 434.5 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.3177, allocations: 4 kB / 434.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.3178, allocations: 43.89 kB / 434.6 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004329/0.3183, allocations: 337 kB / 434.9 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.3184, allocations: 79.78 kB / 435 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.771e-05/0.3185, allocations: 34.62 kB / 435 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.3185, allocations: 4 kB / 435 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.3185, allocations: 38.44 kB / 435.1 MB, free: 3.574 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3185, allocations: 0 / 435.1 MB, free: 3.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003386/0.3189, allocations: 109.5 kB / 435.2 MB, free: 3.461 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.021e-05/0.319, allocations: 106.8 kB / 435.3 MB, free: 3.332 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.3191, allocations: 148 kB / 435.4 MB, free: 3.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.3191, allocations: 25.7 kB / 435.4 MB, free: 3.148 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.736e-05/0.3192, allocations: 92.5 kB / 435.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.184e-05/0.3192, allocations: 11.95 kB / 435.5 MB, free: 3.043 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.3192, allocations: 21.66 kB / 435.6 MB, free: 3.016 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.3194, allocations: 314.8 kB / 435.9 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.553e-05/0.3194, allocations: 19.97 kB / 435.9 MB, free: 2.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.28e-05/0.3195, allocations: 39.42 kB / 435.9 MB, free: 2.629 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.3196, allocations: 63.28 kB / 436 MB, free: 2.555 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3196, allocations: 4 kB / 436 MB, free: 2.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001727/0.3198, allocations: 81.62 kB / 436.1 MB, free: 2.465 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3198, allocations: 11.98 kB / 436.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3198, allocations: 0 / 436.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.3198, allocations: 4 kB / 436.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.099e-05/0.3199, allocations: 8 kB / 436.1 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3199, allocations: 4 kB / 436.1 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.382e-05/0.32, allocations: 7.984 kB / 436.1 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.32, allocations: 3.938 kB / 436.1 MB, free: 2.426 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.000112/0.3201, allocations: 125.8 kB / 436.2 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.39e-05/0.3202, allocations: 53.64 kB / 436.3 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.3202, allocations: 20 kB / 436.3 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.3202, allocations: 3.984 kB / 436.3 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3202, allocations: 4 kB / 436.3 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3202, allocations: 0 / 436.3 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.3205, allocations: 144.7 kB / 436.4 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3205, allocations: 0 / 436.4 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.548e-05/0.3205, allocations: 11.98 kB / 436.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3205, allocations: 0 / 436.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.3205, allocations: 19.89 kB / 436.5 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.3205, allocations: 3.938 kB / 436.5 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3205, allocations: 0 / 436.5 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.3208, allocations: 263.5 kB / 436.7 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.723e-05/0.3208, allocations: 19.94 kB / 436.8 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.3208, allocations: 4 kB / 436.8 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.3209, allocations: 4 kB / 436.8 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.321, allocations: 3.984 kB / 436.8 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.321, allocations: 4 kB / 436.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.768e-05/0.3211, allocations: 103.3 kB / 436.9 MB, free: 1.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3211, allocations: 0 / 436.9 MB, free: 1.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.3213, allocations: 11.94 kB / 436.9 MB, free: 1.559 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.000553/0.3219, allocations: 0.7984 MB / 437.7 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001793/0.322, allocations: 51.91 kB / 437.7 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3221, allocations: 4 kB / 437.7 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.868e-05/0.3221, allocations: 11.98 kB / 437.8 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.3225, allocations: 26.92 kB / 437.8 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.3241, allocations: 1.49 MB / 439.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.3244, allocations: 0.704 MB / 440 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.697e-05/0.3244, allocations: 4 kB / 440 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.057e-05/0.3245, allocations: 15.42 kB / 440 MB, free: 14.3 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3245, allocations: 0 / 440 MB, free: 14.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/0.348, allocations: 1.727 MB / 441.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.884/8.232, allocations: 7.938 kB / 441.7 MB, free: 12.69 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_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_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.549161734990776] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y[1]', 'sample1.y[2]'] 8.303219078108668 8.324651512 8.003212698 Calling exit ...