Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001375/0.001375, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001429/0.001429, allocations: 214.2 kB / 24.52 MB, free: 3.918 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.55/1.55, allocations: 230.5 MB / 258.2 MB, free: 7.754 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.BooleanSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 67.91 kB / 378.5 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2639, allocations: 53.4 MB / 431.9 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003694/0.2676, allocations: 1.89 MB / 433.8 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.2697, allocations: 1.161 MB / 435 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.2699, allocations: 3.938 kB / 435 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007367/0.2706, allocations: 162.6 kB / 435.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004741/0.2711, allocations: 167.4 kB / 435.3 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005918/0.2717, allocations: 167.5 kB / 435.4 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003349/0.272, allocations: 195.4 kB / 435.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.2722, allocations: 29.59 kB / 435.7 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.2724, allocations: 87.62 kB / 435.8 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.2725, allocations: 83.61 kB / 435.8 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.402e-05/0.2726, allocations: 12 kB / 435.8 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.2727, allocations: 63.89 kB / 435.9 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.333e-05/0.2728, allocations: 43.84 kB / 435.9 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.056e-05/0.2729, allocations: 51.67 kB / 436 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000386/0.2733, allocations: 228.9 kB / 436.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2733, allocations: 0 / 436.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2733, allocations: 0 / 436.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.2733, allocations: 0 / 436.2 MB, free: 2.129 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.0008415/0.2742, allocations: 462.6 kB / 436.7 MB, free: 1.641 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.2742, allocations: 8.031 kB / 436.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.491e-05/0.2742, allocations: 4.188 kB / 436.7 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.647e-05/0.2743, allocations: 38.73 kB / 436.7 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.756e-05/0.2743, allocations: 28.73 kB / 436.8 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003305/0.2746, allocations: 213.2 kB / 437 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.2747, allocations: 8.359 kB / 437 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.2747, allocations: 8.375 kB / 437 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/0.2751, allocations: 200 kB / 437.2 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.2751, allocations: 3.938 kB / 437.2 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.2751, allocations: 8 kB / 437.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2751, allocations: 0 / 437.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.2752, allocations: 39.91 kB / 437.2 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.2758, allocations: 413.6 kB / 437.6 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.276, allocations: 142.5 kB / 437.8 MB, free: 408 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.2761, allocations: 51.42 kB / 437.8 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.2762, allocations: 4 kB / 437.8 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/0.2764, allocations: 93.11 kB / 437.9 MB, free: 228 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.482e-06/0.2764, allocations: 0 / 437.9 MB, free: 228 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004233/0.2768, allocations: 161.8 kB / 438.1 MB, free: 60 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.2769, allocations: 170.2 kB / 438.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.2772, allocations: 281 kB / 438.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.2772, allocations: 29.7 kB / 438.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.019e-05/0.2773, allocations: 120.4 kB / 438.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.2774, allocations: 19.84 kB / 438.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-05/0.2774, allocations: 37.66 kB / 438.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.2776, allocations: 334.8 kB / 439 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.688e-05/0.2776, allocations: 20 kB / 439.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.2778, allocations: 134.2 kB / 439.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.2779, allocations: 97.05 kB / 439.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2779, allocations: 0 / 439.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002446/0.2782, allocations: 125.5 kB / 439.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.2782, allocations: 8 kB / 439.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2782, allocations: 0 / 439.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.2782, allocations: 12.14 kB / 439.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.219e-05/0.2783, allocations: 12 kB / 439.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2783, allocations: 4 kB / 439.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.632e-05/0.2784, allocations: 11.94 kB / 439.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.2784, allocations: 7.938 kB / 439.5 MB, free: 14.53 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.0001354/0.2785, allocations: 150.1 kB / 439.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.316e-05/0.2786, allocations: 69.5 kB / 439.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.2789, allocations: 111.4 kB / 439.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.2789, allocations: 12.05 kB / 439.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2789, allocations: 0 / 439.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.2789, allocations: 0 / 439.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.2791, allocations: 200.6 kB / 440 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2791, allocations: 0 / 440 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.236e-05/0.2791, allocations: 15.92 kB / 440 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2791, allocations: 3.938 kB / 440 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.2792, allocations: 8 kB / 440 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2792, allocations: 0 / 440 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2792, allocations: 3.938 kB / 440 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002876/0.2794, allocations: 187.4 kB / 440.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.906e-05/0.2795, allocations: 35.84 kB / 440.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.2796, allocations: 3.938 kB / 440.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.776e-05/0.2796, allocations: 7.984 kB / 440.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.2797, allocations: 11.98 kB / 440.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.2797, allocations: 7.938 kB / 440.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002311/0.2799, allocations: 204.5 kB / 440.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2799, allocations: 0 / 440.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002841/0.2802, allocations: 31.94 kB / 440.5 MB, free: 13.39 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 (12): * Single equations (assignments): 10 * 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.002117/0.2823, allocations: 1.054 MB / 441.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002325/0.2825, allocations: 79.84 kB / 441.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2826, allocations: 0 / 441.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.583e-05/0.2826, allocations: 35.92 kB / 441.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.2831, allocations: 79.92 kB / 441.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.2856, allocations: 2.033 MB / 443.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.2857, allocations: 123.6 kB / 443.9 MB, free: 9.961 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.461e-05/0.2858, allocations: 29.61 kB / 443.9 MB, free: 9.934 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.777e-05/0.2859, allocations: 59.36 kB / 444 MB, free: 9.875 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2859, allocations: 0 / 444 MB, free: 9.875 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02813/0.314, allocations: 5.289 MB / 449.3 MB, free: 4.648 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.33, allocations: 15.22 kB / 449.3 MB, free: 4.637 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98963e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.949247225071304] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'hold1.y'] 11.548980757943355 11.573323392 11.295387141 Calling exit ...