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.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.001817/0.001817, allocations: 120.4 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.002163/0.002163, allocations: 208.9 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.557/1.557, allocations: 230.5 MB / 254.7 MB, free: 15 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.Hold,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.002125/0.002125, allocations: 63.89 kB / 373.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1171, allocations: 53.32 MB / 426.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.004201/0.1213, allocations: 1.921 MB / 428.8 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002525/0.1238, allocations: 1.321 MB / 430.1 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.1239, allocations: 3.938 kB / 430.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004017/0.1243, allocations: 71.66 kB / 430.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003818/0.1247, allocations: 127.4 kB / 430.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007118/0.1254, allocations: 246.6 kB / 430.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002704/0.1257, allocations: 175.5 kB / 430.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.1258, allocations: 25.53 kB / 430.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.1259, allocations: 79.64 kB / 430.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.1261, allocations: 91.59 kB / 430.9 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.523e-05/0.1262, allocations: 12 kB / 430.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.1263, allocations: 71.89 kB / 431 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.054e-05/0.1264, allocations: 59.81 kB / 431.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.167e-05/0.1265, allocations: 79.42 kB / 431.1 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003765/0.1269, allocations: 247 kB / 431.4 MB, free: 328 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1269, allocations: 0 / 431.4 MB, free: 328 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1269, allocations: 3.938 kB / 431.4 MB, free: 324 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1269, allocations: 0 / 431.4 MB, free: 324 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.2105/0.3374, allocations: 0.5464 MB / 431.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.3375, allocations: 11.06 kB / 431.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.243e-05/0.3375, allocations: 38.84 kB / 432 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.173e-05/0.3376, allocations: 29.78 kB / 432 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004641/0.338, allocations: 292 kB / 432.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.3381, allocations: 14.73 kB / 432.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.3381, allocations: 4.875 kB / 432.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003652/0.3385, allocations: 175.2 kB / 432.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3385, allocations: 3.938 kB / 432.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.3385, allocations: 2.812 kB / 432.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.3385, allocations: 2.109 kB / 432.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.3386, allocations: 41.8 kB / 432.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000627/0.3392, allocations: 476.3 kB / 433 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.3395, allocations: 144.4 kB / 433.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.8e-05/0.3396, allocations: 52.88 kB / 433.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.3396, allocations: 4.375 kB / 433.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.3398, allocations: 105.1 kB / 433.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.432e-06/0.3398, allocations: 0 / 433.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003895/0.3401, allocations: 167.6 kB / 433.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.3402, allocations: 193.7 kB / 433.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003157/0.3405, allocations: 335.7 kB / 434 MB, free: 9.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.3405, allocations: 26.64 kB / 434 MB, free: 9.957 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.763e-05/0.3406, allocations: 133 kB / 434.1 MB, free: 9.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.3406, allocations: 23.14 kB / 434.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-05/0.3407, allocations: 38.38 kB / 434.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.348e-05/0.3407, allocations: 335.6 kB / 434.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.197e-05/0.3408, allocations: 30.47 kB / 434.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.3409, allocations: 94.72 kB / 434.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.3411, allocations: 108.2 kB / 434.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3411, allocations: 7.375 kB / 434.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002082/0.3413, allocations: 134.7 kB / 434.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.3414, allocations: 5.062 kB / 434.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3414, allocations: 0 / 434.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3414, allocations: 8.453 kB / 434.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.3415, allocations: 20.64 kB / 434.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.3415, allocations: 5.281 kB / 434.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.02e-05/0.3416, allocations: 14.73 kB / 434.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.3416, allocations: 4.094 kB / 434.9 MB, free: 9.363 MB / 350.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 9.97e-05/0.3417, allocations: 161.2 kB / 435.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.834e-05/0.3418, allocations: 76.08 kB / 435.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.962e-05/0.3418, allocations: 32.66 kB / 435.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3418, allocations: 2.094 kB / 435.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3418, allocations: 0 / 435.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3418, allocations: 2.375 kB / 435.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.342, allocations: 246.7 kB / 435.5 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.342, allocations: 9.031 kB / 435.5 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.848e-05/0.3421, allocations: 12.36 kB / 435.5 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.3421, allocations: 2.25 kB / 435.5 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.3421, allocations: 5.375 kB / 435.5 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3421, allocations: 4.531 kB / 435.5 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.3421, allocations: 3.594 kB / 435.5 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.3423, allocations: 188.7 kB / 435.7 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.963e-05/0.3424, allocations: 117.1 kB / 435.8 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.3424, allocations: 3.375 kB / 435.8 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.031e-05/0.3425, allocations: 9.547 kB / 435.8 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.3426, allocations: 15.81 kB / 435.8 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.3426, allocations: 3.594 kB / 435.8 MB, free: 8.781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002013/0.3428, allocations: 252.5 kB / 436.1 MB, free: 8.699 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3428, allocations: 0 / 436.1 MB, free: 8.699 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000272/0.3431, allocations: 42.23 kB / 436.1 MB, free: 8.691 MB / 350.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.001792/0.3448, allocations: 1.034 MB / 437.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002318/0.3451, allocations: 84.08 kB / 437.2 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3451, allocations: 0.9375 kB / 437.2 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.675e-05/0.3452, allocations: 36.84 kB / 437.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.3456, allocations: 70.62 kB / 437.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.3478, allocations: 2.302 MB / 439.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001722/0.348, allocations: 0.7464 MB / 440.4 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.588e-05/0.3481, allocations: 26.61 kB / 440.4 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.143e-05/0.3482, allocations: 62.66 kB / 440.5 MB, free: 5.707 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3482, allocations: 1.125 kB / 440.5 MB, free: 5.707 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03104/0.3792, allocations: 5.54 MB / 446 MB, free: 4.852 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.128/8.508, allocations: 2.281 kB / 446 MB, free: 4.852 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_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_IntegerSignals_Hold.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.06233835266903] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'hold1.y'] 8.645578446798027 8.659194001 8.52881722 Calling exit ...