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.AssignClock.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.001249/0.001249, allocations: 113.3 kB / 20.22 MB, free: 1.793 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.00143/0.00143, allocations: 210.8 kB / 23.48 MB, free: 5.23 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.363/1.363, allocations: 230.5 MB / 257.1 MB, free: 8.246 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.AssignClock,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",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.001879/0.001879, allocations: 71.83 kB / 377.1 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.256, allocations: 53.32 MB / 430.4 MB, free: 7.242 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002242/0.2583, allocations: 0.857 MB / 431.2 MB, free: 6.395 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003618/0.2586, allocations: 123.6 kB / 431.4 MB, free: 6.273 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.197e-05/0.2587, allocations: 0 / 431.4 MB, free: 6.273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.2588, allocations: 7.938 kB / 431.4 MB, free: 6.266 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.2589, allocations: 11.92 kB / 431.4 MB, free: 6.254 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.2592, allocations: 39.91 kB / 431.4 MB, free: 6.215 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.2593, allocations: 39.91 kB / 431.5 MB, free: 6.176 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.2594, allocations: 23.97 kB / 431.5 MB, free: 6.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.717e-05/0.2594, allocations: 11.88 kB / 431.5 MB, free: 6.141 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.897e-05/0.2595, allocations: 27.86 kB / 431.5 MB, free: 6.113 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.2595, allocations: 0 / 431.5 MB, free: 6.113 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.314e-05/0.2595, allocations: 4 kB / 431.5 MB, free: 6.109 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.449e-05/0.2596, allocations: 19.92 kB / 431.5 MB, free: 6.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.547e-05/0.2596, allocations: 35.73 kB / 431.6 MB, free: 6.055 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.2598, allocations: 64.03 kB / 431.6 MB, free: 5.996 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2598, allocations: 0 / 431.6 MB, free: 5.996 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2598, allocations: 0 / 431.6 MB, free: 5.996 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.371e-06/0.2598, allocations: 0 / 431.6 MB, free: 5.996 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000573/0.2603, allocations: 375.2 kB / 432 MB, free: 5.578 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.2604, allocations: 8.031 kB / 432 MB, free: 5.57 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.837e-05/0.2604, allocations: 38.75 kB / 432.1 MB, free: 5.523 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.2605, allocations: 16.83 kB / 432.1 MB, free: 5.508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.2607, allocations: 203.3 kB / 432.3 MB, free: 5.273 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.2607, allocations: 4.375 kB / 432.3 MB, free: 5.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.2607, allocations: 384 / 432.3 MB, free: 5.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002912/0.261, allocations: 147.7 kB / 432.4 MB, free: 5.113 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.261, allocations: 3.938 kB / 432.4 MB, free: 5.109 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.261, allocations: 3.938 kB / 432.4 MB, free: 5.105 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.261, allocations: 8 kB / 432.4 MB, free: 5.098 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.899e-05/0.2611, allocations: 23.98 kB / 432.5 MB, free: 5.074 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.2613, allocations: 165.7 kB / 432.6 MB, free: 4.863 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.2614, allocations: 70.7 kB / 432.7 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.152e-05/0.2615, allocations: 36.83 kB / 432.7 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.2615, allocations: 7.984 kB / 432.7 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.2615, allocations: 42.55 kB / 432.8 MB, free: 4.688 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.2615, allocations: 0 / 432.8 MB, free: 4.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002181/0.2617, allocations: 101.5 kB / 432.9 MB, free: 4.582 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.2618, allocations: 59.41 kB / 432.9 MB, free: 4.512 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.2619, allocations: 133.8 kB / 433.1 MB, free: 4.371 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.262, allocations: 29.7 kB / 433.1 MB, free: 4.336 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.262, allocations: 92.12 kB / 433.2 MB, free: 4.242 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.262, allocations: 11.95 kB / 433.2 MB, free: 4.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.2621, allocations: 21.72 kB / 433.2 MB, free: 4.203 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.2622, allocations: 326.7 kB / 433.5 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.945e-05/0.2622, allocations: 12 kB / 433.5 MB, free: 3.863 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.354e-05/0.2623, allocations: 55.02 kB / 433.6 MB, free: 3.785 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.735e-05/0.2624, allocations: 78.73 kB / 433.7 MB, free: 3.684 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2624, allocations: 4 kB / 433.7 MB, free: 3.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001269/0.2625, allocations: 89.52 kB / 433.8 MB, free: 3.586 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.2625, allocations: 7.938 kB / 433.8 MB, free: 3.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2625, allocations: 8.125 kB / 433.8 MB, free: 3.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.2625, allocations: 0 / 433.8 MB, free: 3.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.957e-05/0.2626, allocations: 27.92 kB / 433.8 MB, free: 3.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.2626, allocations: 256 / 433.8 MB, free: 3.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.468e-05/0.2627, allocations: 11.94 kB / 433.8 MB, free: 3.531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.2627, allocations: 8 kB / 433.8 MB, free: 3.523 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001179/0.2628, allocations: 128.5 kB / 434 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.2629, allocations: 89.56 kB / 434 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.994e-05/0.2629, allocations: 8.719 kB / 434 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2629, allocations: 4 kB / 434.1 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2629, allocations: 3.984 kB / 434.1 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2629, allocations: 0 / 434.1 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.2631, allocations: 173.6 kB / 434.2 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.2631, allocations: 0 / 434.2 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.215e-05/0.2631, allocations: 15.98 kB / 434.2 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.2631, allocations: 3.938 kB / 434.2 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.2631, allocations: 4 kB / 434.2 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2631, allocations: 0 / 434.2 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2631, allocations: 3.938 kB / 434.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.2633, allocations: 105.1 kB / 434.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.093e-05/0.2634, allocations: 105 kB / 434.5 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.2634, allocations: 0 / 434.5 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.31e-05/0.2634, allocations: 4 kB / 434.5 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-06/0.2634, allocations: 0 / 434.5 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.2634, allocations: 4 kB / 434.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.502e-05/0.2635, allocations: 113.8 kB / 434.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2635, allocations: 0 / 434.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000197/0.2637, allocations: 8 kB / 434.6 MB, free: 2.668 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0005894/0.2643, allocations: 0.6865 MB / 435.3 MB, free: 1.953 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000142/0.2644, allocations: 43.92 kB / 435.3 MB, free: 1.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2644, allocations: 0 / 435.3 MB, free: 1.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.12e-07/0.2644, allocations: 0 / 435.3 MB, free: 1.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.2648, allocations: 52.48 kB / 435.4 MB, free: 1.859 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.2662, allocations: 1.379 MB / 436.7 MB, free: 368 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.2665, allocations: 0.6924 MB / 437.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.078e-05/0.2666, allocations: 12.66 kB / 437.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.525e-05/0.2666, allocations: 19.44 kB / 437.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of SimCode: time 1.001e-06/0.2666, allocations: 0 / 437.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02368/0.2903, allocations: 1.797 MB / 439.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.712/8.002, allocations: 14.69 kB / 439.3 MB, free: 13.88 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.166017089039087] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 8.070920337922871 8.099437747 7.834492095 Calling exit ...