Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001294/0.001294, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001489/0.001489, allocations: 220.2 kB / 24.53 MB, free: 4.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 230.5 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 59.91 kB / 378.6 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2571, allocations: 53.41 MB / 432 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003488/0.2606, allocations: 1.94 MB / 433.9 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00236/0.263, allocations: 1.324 MB / 435.2 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.2631, allocations: 7.938 kB / 435.2 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003451/0.2635, allocations: 75.61 kB / 435.3 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004101/0.2639, allocations: 131.4 kB / 435.4 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006946/0.2646, allocations: 230.8 kB / 435.7 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002943/0.2649, allocations: 187.5 kB / 435.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.265, allocations: 29.72 kB / 435.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.2651, allocations: 83.69 kB / 436 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.2652, allocations: 91.55 kB / 436.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.2653, allocations: 8 kB / 436.1 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.2654, allocations: 71.95 kB / 436.1 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.457e-05/0.2655, allocations: 59.75 kB / 436.2 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.964e-05/0.2656, allocations: 83.42 kB / 436.3 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003428/0.266, allocations: 255.2 kB / 436.5 MB, free: 2.125 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.266, allocations: 0 / 436.5 MB, free: 2.125 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.266, allocations: 0 / 436.5 MB, free: 2.125 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.266, allocations: 4 kB / 436.5 MB, free: 2.121 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006833/0.2666, allocations: 478.5 kB / 437 MB, free: 1.617 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.2667, allocations: 15.97 kB / 437 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.455e-05/0.2667, allocations: 8.172 kB / 437 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.894e-05/0.2667, allocations: 42.69 kB / 437.1 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.563e-05/0.2668, allocations: 32.73 kB / 437.1 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003888/0.2672, allocations: 229.5 kB / 437.3 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.2672, allocations: 4.375 kB / 437.3 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.2672, allocations: 8.375 kB / 437.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003759/0.2676, allocations: 183.4 kB / 437.5 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.2676, allocations: 4 kB / 437.5 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.2676, allocations: 4 kB / 437.5 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2676, allocations: 0 / 437.5 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.2677, allocations: 39.91 kB / 437.5 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005576/0.2683, allocations: 445.6 kB / 438 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003047/0.2686, allocations: 138.5 kB / 438.1 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.2687, allocations: 59.42 kB / 438.2 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.2687, allocations: 3.984 kB / 438.2 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002065/0.2689, allocations: 109 kB / 438.3 MB, free: 140 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 2.926e-06/0.2689, allocations: 3.984 kB / 438.3 MB, free: 136 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004273/0.2694, allocations: 165.4 kB / 438.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.2695, allocations: 183.9 kB / 438.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003591/0.2698, allocations: 344.2 kB / 439 MB, free: 15.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.2699, allocations: 30.08 kB / 439 MB, free: 15.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.27, allocations: 140.3 kB / 439.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.27, allocations: 23.95 kB / 439.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.485e-05/0.2701, allocations: 29.72 kB / 439.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.2702, allocations: 334.8 kB / 439.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.519e-05/0.2703, allocations: 27.98 kB / 439.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.2704, allocations: 103.6 kB / 439.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.2706, allocations: 93.08 kB / 439.7 MB, free: 14.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2706, allocations: 4 kB / 439.7 MB, free: 14.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000252/0.2708, allocations: 137.4 kB / 439.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.2708, allocations: 8 kB / 439.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.2709, allocations: 0 / 439.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.2709, allocations: 0 / 439.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.271, allocations: 31.86 kB / 439.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.271, allocations: 0 / 439.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.29e-05/0.2711, allocations: 15.89 kB / 439.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.2711, allocations: 16.09 kB / 439.9 MB, free: 14.35 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 0.0001447/0.2712, allocations: 158.1 kB / 440.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.457e-05/0.2713, allocations: 69.5 kB / 440.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/0.2716, allocations: 119.4 kB / 440.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.2716, allocations: 4 kB / 440.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2716, allocations: 0 / 440.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2716, allocations: 0 / 440.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.2718, allocations: 220.6 kB / 440.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2718, allocations: 0 / 440.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.541e-05/0.2719, allocations: 23.92 kB / 440.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.2719, allocations: 4 kB / 440.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.2719, allocations: 0 / 440.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.2719, allocations: 4 kB / 440.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2719, allocations: 0 / 440.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003033/0.2722, allocations: 199.2 kB / 440.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.2723, allocations: 43.78 kB / 440.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.2724, allocations: 0 / 440.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.921e-05/0.2724, allocations: 11.98 kB / 440.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.2725, allocations: 7.984 kB / 440.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.2725, allocations: 7.938 kB / 440.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002596/0.2728, allocations: 251.1 kB / 441 MB, free: 13.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2728, allocations: 4 kB / 441 MB, free: 13.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002911/0.2731, allocations: 39.92 kB / 441.1 MB, free: 13.11 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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * 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.002094/0.2751, allocations: 1.022 MB / 442.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002887/0.2754, allocations: 79.84 kB / 442.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2754, allocations: 0 / 442.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.869e-05/0.2755, allocations: 39.91 kB / 442.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004643/0.276, allocations: 83.58 kB / 442.3 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/0.279, allocations: 2.295 MB / 444.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.2794, allocations: 0.7476 MB / 445.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.2795, allocations: 33.61 kB / 445.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.2796, allocations: 63.41 kB / 445.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of SimCode: time 8.22e-07/0.2796, allocations: 0 / 445.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02743/0.307, allocations: 5.702 MB / 451.1 MB, free: 3.059 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.41, allocations: 5.375 kB / 451.1 MB, free: 3.055 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98963e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.008822294010315] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'hold1.y'] 11.632071913045365 11.655722483 11.385164838 Calling exit ...