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.SampleClocked.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.001394/0.001394, 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.001463/0.001463, allocations: 213.6 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.432/1.432, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.SampleClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",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.001913/0.001913, allocations: 64.56 kB / 378.5 MB, free: 3.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2606, allocations: 53.37 MB / 431.9 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003082/0.2636, allocations: 1.532 MB / 433.4 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004331/0.2641, allocations: 139.5 kB / 433.6 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.169e-05/0.2642, allocations: 7.938 kB / 433.6 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.551e-05/0.2642, allocations: 7.922 kB / 433.6 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.2643, allocations: 3.938 kB / 433.6 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.2646, allocations: 35.91 kB / 433.6 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.2647, allocations: 23.92 kB / 433.7 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.933e-05/0.2648, allocations: 11.98 kB / 433.7 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.503e-05/0.2648, allocations: 15.94 kB / 433.7 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.645e-05/0.2649, allocations: 15.86 kB / 433.7 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.2649, allocations: 4 kB / 433.7 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.287e-06/0.2649, allocations: 0 / 433.7 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.539e-05/0.2649, allocations: 11.98 kB / 433.7 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.532e-05/0.265, allocations: 19.81 kB / 433.7 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.2651, allocations: 43.48 kB / 433.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2651, allocations: 0 / 433.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2651, allocations: 0 / 433.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.2651, allocations: 0 / 433.8 MB, free: 5.066 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004974/0.2656, allocations: 291.2 kB / 434.1 MB, free: 4.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.2656, allocations: 8.031 kB / 434.1 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.534e-05/0.2657, allocations: 34.69 kB / 434.1 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.2657, allocations: 12.83 kB / 434.1 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.266, allocations: 138.4 kB / 434.2 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.821e-06/0.266, allocations: 384 / 434.2 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.266, allocations: 4.375 kB / 434.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.2663, allocations: 101.5 kB / 434.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.2663, allocations: 3.938 kB / 434.4 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.2663, allocations: 0 / 434.4 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2663, allocations: 0 / 434.4 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.842e-05/0.2663, allocations: 15.98 kB / 434.4 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.2667, allocations: 232.8 kB / 434.6 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.755e-05/0.2668, allocations: 45.16 kB / 434.6 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.722e-05/0.2668, allocations: 17.77 kB / 434.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.2668, allocations: 3.938 kB / 434.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.2669, allocations: 42.56 kB / 434.7 MB, free: 3.973 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.2669, allocations: 0 / 434.7 MB, free: 3.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002408/0.2671, allocations: 65.61 kB / 434.8 MB, free: 3.902 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.2672, allocations: 77.11 kB / 434.8 MB, free: 3.809 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.2673, allocations: 137 kB / 435 MB, free: 3.664 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.2673, allocations: 25.7 kB / 435 MB, free: 3.633 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/0.2674, allocations: 88.39 kB / 435.1 MB, free: 3.543 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.216e-05/0.2674, allocations: 7.984 kB / 435.1 MB, free: 3.535 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.2674, allocations: 13.72 kB / 435.1 MB, free: 3.516 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.2676, allocations: 314.8 kB / 435.4 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.848e-05/0.2676, allocations: 7.984 kB / 435.4 MB, free: 3.191 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.942e-05/0.2677, allocations: 17.72 kB / 435.4 MB, free: 3.168 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.049e-05/0.2677, allocations: 33.7 kB / 435.5 MB, free: 3.129 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2677, allocations: 3.938 kB / 435.5 MB, free: 3.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001046/0.2679, allocations: 53.64 kB / 435.5 MB, free: 3.066 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.2679, allocations: 6.656 kB / 435.5 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.2679, allocations: 7.938 kB / 435.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.2679, allocations: 0 / 435.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.15e-05/0.2679, allocations: 7.984 kB / 435.6 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.2679, allocations: 4.062 kB / 435.6 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.68e-05/0.268, allocations: 4 kB / 435.6 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.268, allocations: 0 / 435.6 MB, free: 3.039 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.399e-05/0.2681, allocations: 121.8 kB / 435.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.899e-05/0.2681, allocations: 37.66 kB / 435.7 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.2682, allocations: 7.766 kB / 435.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.2682, allocations: 11.92 kB / 435.7 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2682, allocations: 0 / 435.7 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2682, allocations: 4.031 kB / 435.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.2683, allocations: 144.6 kB / 435.9 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2683, allocations: 3.938 kB / 435.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.835e-05/0.2684, allocations: 7.938 kB / 435.9 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.2684, allocations: 4 kB / 435.9 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-06/0.2684, allocations: 0 / 435.9 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2684, allocations: 0 / 435.9 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.2684, allocations: 3.984 kB / 435.9 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.2686, allocations: 160.3 kB / 436.1 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.272e-05/0.2687, allocations: 11.94 kB / 436.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.2687, allocations: 0 / 436.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.071e-05/0.2687, allocations: 4 kB / 436.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.2688, allocations: 4 kB / 436.1 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.2688, allocations: 0 / 436.1 MB, free: 2.445 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.419e-05/0.2689, allocations: 103.2 kB / 436.2 MB, free: 2.344 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2689, allocations: 4.031 kB / 436.2 MB, free: 2.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002159/0.2691, allocations: 4 kB / 436.2 MB, free: 2.336 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: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005098/0.2696, allocations: 0.6859 MB / 436.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001298/0.2697, allocations: 27.95 kB / 436.9 MB, free: 1.594 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2697, allocations: 0 / 436.9 MB, free: 1.594 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.418e-05/0.2697, allocations: 7.984 kB / 436.9 MB, free: 1.586 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.2701, allocations: 18.44 kB / 436.9 MB, free: 1.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.2713, allocations: 1.272 MB / 438.2 MB, free: 208 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.2717, allocations: 0.6846 MB / 438.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.173e-05/0.2717, allocations: 0 / 438.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.56e-05/0.2717, allocations: 19.42 kB / 438.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2717, allocations: 96 / 438.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02413/0.2959, allocations: 1.372 MB / 440.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.004/8.3, allocations: 11.44 kB / 440.3 MB, free: 14.19 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked_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_SampleClocked.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.595931833144277] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 8.373367263004184 8.402014646 8.13143742 Calling exit ...