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.001364/0.001364, allocations: 120.1 kB / 18.49 MB, free: 4.59 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.001462/0.001462, allocations: 214.2 kB / 21.45 MB, free: 1.637 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.445/1.445, allocations: 230.4 MB / 254.7 MB, free: 15 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.002823/0.002823, allocations: 67.91 kB / 373.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09645/0.09927, allocations: 53.36 MB / 427 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003465/0.1027, allocations: 1.932 MB / 429 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002265/0.105, allocations: 1.31 MB / 430.3 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.1051, allocations: 7.938 kB / 430.3 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003267/0.1055, allocations: 79.64 kB / 430.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003777/0.1058, allocations: 127.4 kB / 430.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006668/0.1065, allocations: 229.9 kB / 430.7 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002665/0.1068, allocations: 187.5 kB / 430.9 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.1069, allocations: 25.55 kB / 430.9 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.107, allocations: 87.61 kB / 431 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.1071, allocations: 91.55 kB / 431.1 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.1072, allocations: 8 kB / 431.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.1073, allocations: 75.88 kB / 431.2 MB, free: 476 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.005e-05/0.1074, allocations: 51.84 kB / 431.2 MB, free: 424 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.503e-05/0.1075, allocations: 79.42 kB / 431.3 MB, free: 344 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003862/0.1079, allocations: 254.9 kB / 431.6 MB, free: 88 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1079, allocations: 3.938 kB / 431.6 MB, free: 84 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1079, allocations: 0 / 431.6 MB, free: 84 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.832e-06/0.1079, allocations: 4 kB / 431.6 MB, free: 80 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.1708/0.2787, allocations: 0.5421 MB / 432.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.2787, allocations: 10.02 kB / 432.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.359e-05/0.2787, allocations: 2.875 kB / 432.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.58e-05/0.2788, allocations: 37.64 kB / 432.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.015e-05/0.2788, allocations: 29.34 kB / 432.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003996/0.2792, allocations: 298.9 kB / 432.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.2793, allocations: 3.938 kB / 432.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.2793, allocations: 11.41 kB / 432.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003527/0.2796, allocations: 180.1 kB / 432.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.2796, allocations: 0 / 432.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.2797, allocations: 5.406 kB / 432.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.2797, allocations: 4.766 kB / 432.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.2798, allocations: 38.94 kB / 432.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005027/0.2803, allocations: 475.3 kB / 433.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.2806, allocations: 141.8 kB / 433.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.2807, allocations: 51.56 kB / 433.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.2807, allocations: 8.719 kB / 433.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/0.2809, allocations: 99.03 kB / 433.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.683e-06/0.2809, allocations: 1.594 kB / 433.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004696/0.2814, allocations: 165.8 kB / 433.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.538e-05/0.2815, allocations: 191.8 kB / 433.8 MB, free: 9.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004016/0.2819, allocations: 337.3 kB / 434.2 MB, free: 9.684 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.2819, allocations: 31.27 kB / 434.2 MB, free: 9.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.401e-05/0.282, allocations: 131.8 kB / 434.3 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.282, allocations: 26.97 kB / 434.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.223e-05/0.2821, allocations: 35.89 kB / 434.4 MB, free: 9.535 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.637e-05/0.2822, allocations: 337.6 kB / 434.7 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.57e-05/0.2822, allocations: 27.25 kB / 434.7 MB, free: 9.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.2823, allocations: 97.66 kB / 434.8 MB, free: 9.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.2825, allocations: 101.6 kB / 434.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.2825, allocations: 7.078 kB / 434.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002428/0.2827, allocations: 139.5 kB / 435.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.2828, allocations: 6.719 kB / 435.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.2828, allocations: 2.219 kB / 435.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.2828, allocations: 2.156 kB / 435.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.2829, allocations: 21.22 kB / 435.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.2829, allocations: 5.406 kB / 435.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.963e-05/0.283, allocations: 16.83 kB / 435.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.283, allocations: 4.281 kB / 435.1 MB, free: 9.055 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.0001319/0.2832, allocations: 162 kB / 435.3 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.045e-05/0.2832, allocations: 71.62 kB / 435.4 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.808e-05/0.2833, allocations: 32.2 kB / 435.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2833, allocations: 2.281 kB / 435.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.2833, allocations: 1.156 kB / 435.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2833, allocations: 1.094 kB / 435.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.2836, allocations: 251 kB / 435.6 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2836, allocations: 2.219 kB / 435.6 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.195e-05/0.2836, allocations: 16.56 kB / 435.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.2836, allocations: 8.719 kB / 435.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.2837, allocations: 5.719 kB / 435.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.2837, allocations: 1.375 kB / 435.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.2837, allocations: 3.781 kB / 435.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.2839, allocations: 188.4 kB / 435.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.991e-05/0.284, allocations: 115.9 kB / 436 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.284, allocations: 3.406 kB / 436 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.079e-05/0.2841, allocations: 6.984 kB / 436 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.563e-05/0.2842, allocations: 10.73 kB / 436 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.2842, allocations: 8 kB / 436 MB, free: 8.469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002436/0.2844, allocations: 249 kB / 436.2 MB, free: 8.387 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2844, allocations: 3.938 kB / 436.3 MB, free: 8.383 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003106/0.2847, allocations: 45.27 kB / 436.3 MB, free: 8.375 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.001879/0.2866, allocations: 1.035 MB / 437.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002652/0.2869, allocations: 84.61 kB / 437.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2869, allocations: 0 / 437.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.557e-05/0.287, allocations: 32.86 kB / 437.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000509/0.2875, allocations: 83.17 kB / 437.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.2902, allocations: 2.284 MB / 439.8 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.2904, allocations: 0.7498 MB / 440.6 MB, free: 5.395 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.2905, allocations: 24.67 kB / 440.6 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.727e-05/0.2906, allocations: 62.62 kB / 440.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of SimCode: time 9.42e-07/0.2906, allocations: 0 / 440.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02248/0.3131, allocations: 5.545 MB / 446.2 MB, free: 4.434 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.611/8.924, allocations: 3.5 kB / 446.2 MB, free: 4.434 MB / 350.1 MB " [Timeout remaining time 651] (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: 11.40035650000209] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'hold1.y'] 9.10657143703429 9.125205631 9.012507657 Calling exit ...