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.Sample1.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.001297/0.001297, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001548/0.001548, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.525/1.525, allocations: 230.6 MB / 258.3 MB, free: 8.074 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.Sample1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",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.002/0.002, allocations: 64.77 kB / 378.5 MB, free: 3.273 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2603, allocations: 53.37 MB / 431.9 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002935/0.2632, allocations: 1.541 MB / 433.5 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004005/0.2636, allocations: 143.5 kB / 433.6 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.056e-05/0.2637, allocations: 4 kB / 433.6 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.821e-05/0.2638, allocations: 3.938 kB / 433.6 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.2639, allocations: 7.922 kB / 433.6 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.2641, allocations: 43.84 kB / 433.7 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.2642, allocations: 27.92 kB / 433.7 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.479e-05/0.2643, allocations: 15.97 kB / 433.7 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.178e-05/0.2644, allocations: 19.88 kB / 433.7 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.55e-05/0.2644, allocations: 19.86 kB / 433.7 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.2644, allocations: 0 / 433.7 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.2644, allocations: 8 kB / 433.7 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.793e-05/0.2645, allocations: 15.92 kB / 433.8 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.2645, allocations: 15.88 kB / 433.8 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.2647, allocations: 51.41 kB / 433.8 MB, free: 5.012 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2647, allocations: 0 / 433.8 MB, free: 5.012 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2647, allocations: 0 / 433.8 MB, free: 5.012 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.2647, allocations: 0 / 433.8 MB, free: 5.012 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.0004722/0.2652, allocations: 295.2 kB / 434.1 MB, free: 4.691 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.2652, allocations: 12.03 kB / 434.1 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.365e-05/0.2652, allocations: 38.73 kB / 434.2 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.521e-05/0.2653, allocations: 12.89 kB / 434.2 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.2655, allocations: 134.4 kB / 434.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.016e-06/0.2655, allocations: 384 / 434.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.2655, allocations: 4.375 kB / 434.3 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/0.2658, allocations: 117.6 kB / 434.4 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.2658, allocations: 3.938 kB / 434.4 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.2658, allocations: 4 kB / 434.4 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.2658, allocations: 0 / 434.4 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.277e-05/0.2659, allocations: 19.92 kB / 434.5 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003387/0.2662, allocations: 232.8 kB / 434.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.2664, allocations: 69.08 kB / 434.8 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.606e-05/0.2665, allocations: 25.77 kB / 434.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.2665, allocations: 4 kB / 434.8 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.2665, allocations: 38.5 kB / 434.8 MB, free: 3.859 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2665, allocations: 0 / 434.8 MB, free: 3.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002456/0.2668, allocations: 77.56 kB / 434.9 MB, free: 3.777 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.2668, allocations: 77.11 kB / 435 MB, free: 3.684 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.267, allocations: 136.8 kB / 435.1 MB, free: 3.539 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.267, allocations: 25.7 kB / 435.1 MB, free: 3.508 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.587e-05/0.267, allocations: 88.12 kB / 435.2 MB, free: 3.418 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.2671, allocations: 20.02 kB / 435.2 MB, free: 3.398 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.2671, allocations: 13.72 kB / 435.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.2672, allocations: 318.8 kB / 435.6 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.717e-05/0.2673, allocations: 7.938 kB / 435.6 MB, free: 3.051 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.934e-05/0.2673, allocations: 35.61 kB / 435.6 MB, free: 3.004 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.72e-05/0.2674, allocations: 47.36 kB / 435.6 MB, free: 2.945 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.2674, allocations: 7.938 kB / 435.7 MB, free: 2.938 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000125/0.2675, allocations: 57.62 kB / 435.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.2676, allocations: 4 kB / 435.7 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.2676, allocations: 12.2 kB / 435.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.2676, allocations: 3.984 kB / 435.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.781e-05/0.2676, allocations: 12 kB / 435.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2676, allocations: 0 / 435.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.58e-05/0.2677, allocations: 11.89 kB / 435.8 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.2677, allocations: 4 kB / 435.8 MB, free: 2.828 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 (step.y,sample1.y,assignClock.y,assignClock.u) * 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.91e-05/0.2678, allocations: 125.8 kB / 435.9 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.112e-05/0.2679, allocations: 41.7 kB / 435.9 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.739e-05/0.2679, allocations: 12.33 kB / 435.9 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.2679, allocations: 4 kB / 435.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2679, allocations: 0 / 435.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.2679, allocations: 0 / 435.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.2681, allocations: 144.6 kB / 436.1 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2681, allocations: 4 kB / 436.1 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.374e-05/0.2681, allocations: 4 kB / 436.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.2681, allocations: 4 kB / 436.1 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.2681, allocations: 3.984 kB / 436.1 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.2681, allocations: 3.938 kB / 436.1 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2681, allocations: 3.938 kB / 436.1 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.2683, allocations: 168.3 kB / 436.3 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/0.2684, allocations: 11.94 kB / 436.3 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.2684, allocations: 0 / 436.3 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.782e-05/0.2685, allocations: 11.98 kB / 436.3 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/0.2685, allocations: 0 / 436.3 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.2685, allocations: 4 kB / 436.3 MB, free: 2.207 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.368e-05/0.2686, allocations: 107.2 kB / 436.4 MB, free: 2.102 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2686, allocations: 0 / 436.4 MB, free: 2.102 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002186/0.2688, allocations: 4 kB / 436.4 MB, free: 2.098 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0005102/0.2693, allocations: 0.7015 MB / 437.1 MB, free: 1.367 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001477/0.2695, allocations: 35.91 kB / 437.1 MB, free: 1.332 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2695, allocations: 0 / 437.1 MB, free: 1.332 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.24e-05/0.2695, allocations: 8 kB / 437.1 MB, free: 1.324 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.2698, allocations: 19.95 kB / 437.2 MB, free: 1.305 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.2712, allocations: 1.325 MB / 438.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.2716, allocations: 0.6885 MB / 439.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.491e-05/0.2716, allocations: 11.98 kB / 439.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.77e-05/0.2717, allocations: 11.86 kB / 439.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of SimCode: time 9.01e-07/0.2717, allocations: 0 / 439.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.2949, allocations: 1.47 MB / 440.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.276, allocations: 15.08 kB / 440.7 MB, free: 13.75 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1_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_Sample1.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.616223275195807] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 8.347817716188729 8.372072527 8.102760533 Calling exit ...