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.ShiftSample.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.001304/0.001304, allocations: 121.8 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.001464/0.001464, 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.469/1.469, allocations: 230.5 MB / 254.7 MB, free: 15.02 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.ShiftSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_ShiftSample",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.00202/0.00202, allocations: 67.83 kB / 373.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09904/0.1011, allocations: 53.32 MB / 426.9 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.003425/0.1045, allocations: 1.901 MB / 428.8 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.1067, allocations: 1.304 MB / 430.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.1068, allocations: 3.938 kB / 430.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003973/0.1072, allocations: 71.66 kB / 430.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003466/0.1076, allocations: 131.4 kB / 430.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006158/0.1082, allocations: 230.8 kB / 430.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.1084, allocations: 175.6 kB / 430.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.966e-05/0.1085, allocations: 21.55 kB / 430.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.1087, allocations: 83.5 kB / 430.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.1088, allocations: 83.67 kB / 430.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.052e-05/0.1088, allocations: 12 kB / 430.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002301/0.1091, allocations: 67.95 kB / 430.9 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.854e-05/0.1091, allocations: 55.77 kB / 431 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.301e-05/0.1092, allocations: 79.42 kB / 431.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.1096, allocations: 247 kB / 431.3 MB, free: 416 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1096, allocations: 0 / 431.3 MB, free: 416 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1096, allocations: 0 / 431.3 MB, free: 416 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.1096, allocations: 0 / 431.3 MB, free: 416 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.2003/0.3099, allocations: 0.5407 MB / 431.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.3099, allocations: 9.438 kB / 431.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.281e-05/0.31, allocations: 39.5 kB / 431.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.09e-05/0.31, allocations: 28.08 kB / 431.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004279/0.3105, allocations: 289 kB / 432.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.3105, allocations: 5.656 kB / 432.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.3105, allocations: 8.141 kB / 432.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/0.3109, allocations: 156.5 kB / 432.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3109, allocations: 3.938 kB / 432.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.3109, allocations: 1.312 kB / 432.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3109, allocations: 3.688 kB / 432.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.311, allocations: 39.42 kB / 432.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000626/0.3116, allocations: 392.3 kB / 432.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.3119, allocations: 108.7 kB / 432.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.331e-05/0.3119, allocations: 47.05 kB / 433 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.312, allocations: 5.344 kB / 433 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001827/0.3122, allocations: 78.94 kB / 433 MB, free: 10.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.3122, allocations: 3.062 kB / 433 MB, free: 10.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003952/0.3126, allocations: 156.6 kB / 433.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.3126, allocations: 161.6 kB / 433.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.3129, allocations: 337.3 kB / 433.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.3129, allocations: 27.11 kB / 433.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.313, allocations: 130.7 kB / 433.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.313, allocations: 20.33 kB / 433.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.313, allocations: 31.25 kB / 433.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.148e-05/0.3131, allocations: 337.1 kB / 434.2 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.466e-05/0.3132, allocations: 24.95 kB / 434.2 MB, free: 9.699 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.533e-05/0.3132, allocations: 82.55 kB / 434.3 MB, free: 9.637 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.3134, allocations: 87.42 kB / 434.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3134, allocations: 1.25 kB / 434.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002812/0.3137, allocations: 133.4 kB / 434.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.3137, allocations: 7.156 kB / 434.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.3137, allocations: 1.781 kB / 434.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3137, allocations: 2.625 kB / 434.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.3138, allocations: 17.55 kB / 434.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.3138, allocations: 4.781 kB / 434.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.988e-05/0.3139, allocations: 11.38 kB / 434.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.3139, allocations: 2.406 kB / 434.6 MB, free: 9.555 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.371e-05/0.314, allocations: 162.8 kB / 434.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.884e-05/0.314, allocations: 75.02 kB / 434.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.964e-05/0.3141, allocations: 29.95 kB / 434.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3141, allocations: 2.844 kB / 434.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3141, allocations: 0 / 434.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.3141, allocations: 3.219 kB / 434.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.3142, allocations: 245.7 kB / 435.1 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3142, allocations: 4.938 kB / 435.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.914e-05/0.3143, allocations: 10.19 kB / 435.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3143, allocations: 1.094 kB / 435.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.3143, allocations: 5.203 kB / 435.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.3143, allocations: 1.75 kB / 435.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3143, allocations: 0 / 435.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.3145, allocations: 177.9 kB / 435.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.268e-05/0.3146, allocations: 115.7 kB / 435.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.3146, allocations: 3.031 kB / 435.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.264e-05/0.3147, allocations: 3.375 kB / 435.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.72e-05/0.3148, allocations: 11.73 kB / 435.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.3148, allocations: 3.312 kB / 435.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001904/0.315, allocations: 251 kB / 435.7 MB, free: 8.898 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.315, allocations: 1.125 kB / 435.7 MB, free: 8.898 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.3152, allocations: 31.14 kB / 435.7 MB, free: 8.898 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,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 (9): * Single equations (assignments): 7 * 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.001799/0.317, allocations: 1.02 MB / 436.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.3172, allocations: 81.19 kB / 436.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3172, allocations: 1.188 kB / 436.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.115e-05/0.3173, allocations: 32.05 kB / 436.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.3177, allocations: 64.12 kB / 436.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.3198, allocations: 2.231 MB / 439.1 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.3199, allocations: 0.7412 MB / 439.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.307e-05/0.32, allocations: 28.3 kB / 439.9 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.119e-05/0.3201, allocations: 61.17 kB / 440 MB, free: 6.027 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3201, allocations: 4 kB / 440 MB, free: 6.023 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02984/0.3499, allocations: 5.396 MB / 445.4 MB, free: 5.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.365/8.715, allocations: 16.8 kB / 445.4 MB, free: 5.172 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79104e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_ShiftSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.084586691111326] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y'] 8.836231105029583 8.851664941 8.738656356 Calling exit ...