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.001348/0.001348, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.001446/0.001446, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.509/1.509, allocations: 230.5 MB / 254.7 MB, free: 15.21 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.001947/0.001947, allocations: 71.83 kB / 373.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1033, allocations: 53.32 MB / 426.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002417/0.1058, allocations: 0.8437 MB / 427.7 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005192/0.1063, allocations: 119.6 kB / 427.8 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.56e-05/0.1064, allocations: 4 kB / 427.8 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.1065, allocations: 15.86 kB / 427.9 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.1066, allocations: 7.938 kB / 427.9 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.1068, allocations: 43.83 kB / 427.9 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.1069, allocations: 43.91 kB / 428 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1071, allocations: 12 kB / 428 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.307e-05/0.1071, allocations: 23.86 kB / 428 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.712e-05/0.1072, allocations: 19.86 kB / 428 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.1072, allocations: 4 kB / 428 MB, free: 3.773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.368e-05/0.1072, allocations: 4 kB / 428 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.458e-05/0.1073, allocations: 23.91 kB / 428 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.493e-05/0.1073, allocations: 23.81 kB / 428.1 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.1075, allocations: 63.67 kB / 428.1 MB, free: 3.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1075, allocations: 0 / 428.1 MB, free: 3.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1075, allocations: 4 kB / 428.1 MB, free: 3.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.1075, allocations: 0 / 428.1 MB, free: 3.656 MB / 350.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.0005709/0.1081, allocations: 383 kB / 428.5 MB, free: 3.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.1081, allocations: 8.031 kB / 428.5 MB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.275e-05/0.1081, allocations: 38.75 kB / 428.5 MB, free: 3.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.1082, allocations: 16.84 kB / 428.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.1085, allocations: 192.2 kB / 428.8 MB, free: 2.934 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.1085, allocations: 384 / 428.8 MB, free: 2.934 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.1085, allocations: 12.38 kB / 428.8 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.1088, allocations: 147.6 kB / 428.9 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.1088, allocations: 7.922 kB / 428.9 MB, free: 2.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.1088, allocations: 4 kB / 428.9 MB, free: 2.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1088, allocations: 4 kB / 428.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.838e-05/0.1089, allocations: 19.98 kB / 428.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001717/0.109, allocations: 173.6 kB / 429.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.1092, allocations: 70.69 kB / 429.2 MB, free: 2.434 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.044e-05/0.1093, allocations: 40.84 kB / 429.2 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.1093, allocations: 4 kB / 429.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.1093, allocations: 30.56 kB / 429.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.1093, allocations: 4 kB / 429.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000211/0.1095, allocations: 105.7 kB / 429.4 MB, free: 2.234 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.1096, allocations: 55.41 kB / 429.4 MB, free: 2.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.1097, allocations: 144.3 kB / 429.6 MB, free: 2.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/0.1098, allocations: 25.7 kB / 429.6 MB, free: 1.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.1099, allocations: 92.08 kB / 429.7 MB, free: 1.895 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.1099, allocations: 7.938 kB / 429.7 MB, free: 1.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.1099, allocations: 25.72 kB / 429.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1101, allocations: 322.8 kB / 430 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.137e-05/0.1101, allocations: 8 kB / 430 MB, free: 1.523 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.673e-05/0.1102, allocations: 62.8 kB / 430.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.926e-05/0.1103, allocations: 74.75 kB / 430.2 MB, free: 1.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1103, allocations: 0 / 430.2 MB, free: 1.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001346/0.1104, allocations: 97.44 kB / 430.3 MB, free: 1.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1104, allocations: 7.938 kB / 430.3 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1104, allocations: 4 kB / 430.3 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1104, allocations: 0 / 430.3 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.742e-05/0.1105, allocations: 23.98 kB / 430.3 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1105, allocations: 0 / 430.3 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.233e-05/0.1105, allocations: 7.938 kB / 430.3 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.1105, allocations: 4 kB / 430.3 MB, free: 1.191 MB / 350.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.0001055/0.1107, allocations: 130 kB / 430.4 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.1108, allocations: 85.56 kB / 430.5 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.553e-05/0.1108, allocations: 8.719 kB / 430.5 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1108, allocations: 4 kB / 430.5 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1108, allocations: 0 / 430.5 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1108, allocations: 0 / 430.5 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.1109, allocations: 177.6 kB / 430.7 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1109, allocations: 0 / 430.7 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.238e-05/0.111, allocations: 19.98 kB / 430.7 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.111, allocations: 11.88 kB / 430.7 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.111, allocations: 8 kB / 430.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.111, allocations: 0 / 430.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.111, allocations: 0 / 430.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.1112, allocations: 105.5 kB / 430.8 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.04e-05/0.1113, allocations: 104.9 kB / 430.9 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.1113, allocations: 4 kB / 430.9 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.127e-05/0.1113, allocations: 0 / 430.9 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-06/0.1113, allocations: 4 kB / 431 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.1113, allocations: 0 / 431 MB, free: 448 kB / 350.1 MB Notification: Performance of sorting global known variables: time 8.033e-05/0.1114, allocations: 111.2 kB / 431.1 MB, free: 336 kB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1114, allocations: 0 / 431.1 MB, free: 336 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002013/0.1116, allocations: 12 kB / 431.1 MB, free: 324 kB / 350.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.0006828/0.1123, allocations: 0.6788 MB / 431.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001374/0.1124, allocations: 44.11 kB / 431.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1124, allocations: 0 / 431.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.62e-07/0.1124, allocations: 3.938 kB / 431.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.1127, allocations: 50 kB / 431.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.114, allocations: 1.379 MB / 433.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.1144, allocations: 0.6963 MB / 433.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.977e-05/0.1145, allocations: 8.656 kB / 433.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.1145, allocations: 15.44 kB / 433.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1145, allocations: 0 / 433.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.1396, allocations: 1.834 MB / 435.8 MB, free: 11.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/8.166, allocations: 13.72 kB / 435.8 MB, free: 11.55 MB / 366.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.69696844369173] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 8.234034530818462 8.417246831 8.140173709 Calling exit ...