Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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.001365/0.001365, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001557/0.001557, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.494/1.494, allocations: 230.5 MB / 254.7 MB, free: 15.23 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.BooleanSignals.Hold,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",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.001969/0.001969, allocations: 75.81 kB / 373.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1031, allocations: 53.3 MB / 426.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.00355/0.1066, allocations: 1.938 MB / 428.8 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002235/0.1089, allocations: 1.231 MB / 430 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.109, allocations: 7.938 kB / 430 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006101/0.1096, allocations: 155.4 kB / 430.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004436/0.11, allocations: 155.4 kB / 430.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005507/0.1106, allocations: 179.4 kB / 430.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.1109, allocations: 191.5 kB / 430.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.111, allocations: 17.69 kB / 430.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.1111, allocations: 91.61 kB / 430.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.1113, allocations: 83.55 kB / 430.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.1113, allocations: 12 kB / 430.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.1115, allocations: 59.95 kB / 431 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.874e-05/0.1116, allocations: 39.84 kB / 431 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.203e-05/0.1116, allocations: 75.48 kB / 431.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003445/0.112, allocations: 223 kB / 431.3 MB, free: 492 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.112, allocations: 4 kB / 431.3 MB, free: 488 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.112, allocations: 0 / 431.3 MB, free: 488 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.112, allocations: 0 / 431.3 MB, free: 488 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001014/0.113, allocations: 0.5271 MB / 431.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1131, allocations: 8.031 kB / 431.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.946e-05/0.1131, allocations: 38.75 kB / 431.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.669e-05/0.1132, allocations: 20.8 kB / 431.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/0.1136, allocations: 283 kB / 432.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1136, allocations: 4.375 kB / 432.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.1136, allocations: 11.94 kB / 432.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003617/0.114, allocations: 159.5 kB / 432.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.114, allocations: 4 kB / 432.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.114, allocations: 8 kB / 432.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.114, allocations: 0 / 432.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.1141, allocations: 43.84 kB / 432.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000724/0.1148, allocations: 446.6 kB / 432.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.1151, allocations: 130.5 kB / 433 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.715e-05/0.1152, allocations: 55.42 kB / 433 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.1152, allocations: 4 kB / 433 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/0.1154, allocations: 101.1 kB / 433.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/0.1154, allocations: 4 kB / 433.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004131/0.1158, allocations: 157.4 kB / 433.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.116, allocations: 162.2 kB / 433.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.1163, allocations: 280.9 kB / 433.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.1163, allocations: 29.64 kB / 433.7 MB, free: 13.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.1164, allocations: 120.8 kB / 433.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.1164, allocations: 23.83 kB / 433.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.329e-05/0.1165, allocations: 37.67 kB / 433.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.1167, allocations: 330.8 kB / 434.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.767e-05/0.1168, allocations: 19.98 kB / 434.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.1169, allocations: 78.86 kB / 434.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.1172, allocations: 93.02 kB / 434.4 MB, free: 12.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1172, allocations: 0 / 434.4 MB, free: 12.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002427/0.1174, allocations: 129.7 kB / 434.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1174, allocations: 4 kB / 434.6 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.1174, allocations: 4.062 kB / 434.6 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1174, allocations: 4 kB / 434.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.981e-05/0.1175, allocations: 15.98 kB / 434.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.1175, allocations: 7.938 kB / 434.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.076e-05/0.1176, allocations: 15.89 kB / 434.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.1176, allocations: 4 kB / 434.6 MB, free: 12.78 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001554/0.1178, allocations: 146 kB / 434.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.1179, allocations: 77.48 kB / 434.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.425e-05/0.118, allocations: 21.7 kB / 434.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.118, allocations: 0 / 434.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.118, allocations: 4 kB / 434.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.118, allocations: 3.938 kB / 434.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.1182, allocations: 229.6 kB / 435.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1182, allocations: 0 / 435.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.702e-05/0.1183, allocations: 12 kB / 435.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.1183, allocations: 4 kB / 435.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.1183, allocations: 7.984 kB / 435.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1183, allocations: 4 kB / 435.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.1183, allocations: 3.938 kB / 435.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.1186, allocations: 167.5 kB / 435.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.1187, allocations: 116.9 kB / 435.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.1187, allocations: 0 / 435.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.881e-05/0.1188, allocations: 11.98 kB / 435.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.1188, allocations: 7.938 kB / 435.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.1188, allocations: 4 kB / 435.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002173/0.1191, allocations: 204.5 kB / 435.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1191, allocations: 0 / 435.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000318/0.1194, allocations: 35.94 kB / 435.7 MB, free: 11.63 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002028/0.1214, allocations: 1.029 MB / 436.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003843/0.1218, allocations: 75.78 kB / 436.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1218, allocations: 4 kB / 436.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.364e-05/0.1219, allocations: 23.98 kB / 436.8 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.1223, allocations: 75.05 kB / 436.9 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002793/0.1251, allocations: 2.03 MB / 438.9 MB, free: 8.402 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000492/0.1256, allocations: 0.7396 MB / 439.6 MB, free: 7.637 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.1257, allocations: 25.53 kB / 439.7 MB, free: 7.605 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.1258, allocations: 47.42 kB / 439.7 MB, free: 7.559 MB / 366.1 MB Notification: Performance of SimCode: time 1.262e-06/0.1258, allocations: 0 / 439.7 MB, free: 7.559 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03074/0.1565, allocations: 4.871 MB / 444.6 MB, free: 2.816 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.326/8.483, allocations: 13.56 kB / 444.6 MB, free: 2.809 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98963e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.07914181612432] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'hold1.y'] 8.606315715704113 8.790975046 8.676797809 Calling exit ...