Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 120.1 kB / 18.49 MB, free: 4.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 215 kB / 21.45 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 254.8 MB, free: 15.23 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_ShiftSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_ShiftSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 48.02 kB / 373.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1053, allocations: 53.33 MB / 427 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.003662/0.109, allocations: 1.907 MB / 428.9 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002232/0.1112, allocations: 1.297 MB / 430.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.1113, allocations: 7.938 kB / 430.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003231/0.1116, allocations: 71.66 kB / 430.3 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003765/0.112, allocations: 131.4 kB / 430.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007077/0.1127, allocations: 230.9 kB / 430.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.113, allocations: 175.5 kB / 430.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1131, allocations: 29.55 kB / 430.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.1132, allocations: 83.56 kB / 430.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.1134, allocations: 83.67 kB / 431 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.1134, allocations: 8 kB / 431 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.1136, allocations: 71.94 kB / 431.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.508e-05/0.1136, allocations: 59.66 kB / 431.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.301e-05/0.1137, allocations: 71.48 kB / 431.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003553/0.1141, allocations: 247 kB / 431.5 MB, free: 360 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1141, allocations: 0 / 431.5 MB, free: 360 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1141, allocations: 0 / 431.5 MB, free: 360 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.1141, allocations: 3.984 kB / 431.5 MB, free: 356 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.0007698/0.1149, allocations: 0.5425 MB / 432 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.1149, allocations: 12.03 kB / 432 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.737e-05/0.1149, allocations: 4.188 kB / 432 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.446e-05/0.115, allocations: 34.75 kB / 432.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.932e-05/0.115, allocations: 32.78 kB / 432.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004163/0.1155, allocations: 283.8 kB / 432.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.1155, allocations: 16.12 kB / 432.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.1155, allocations: 4 kB / 432.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003409/0.1158, allocations: 155.5 kB / 432.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1158, allocations: 4 kB / 432.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.1158, allocations: 4 kB / 432.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.1159, allocations: 4 kB / 432.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.116, allocations: 31.97 kB / 432.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005469/0.1165, allocations: 398.3 kB / 433 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.1168, allocations: 111.9 kB / 433.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.26e-05/0.1169, allocations: 46.5 kB / 433.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.1169, allocations: 0 / 433.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.1171, allocations: 87.31 kB / 433.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.1171, allocations: 0 / 433.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004032/0.1175, allocations: 153.4 kB / 433.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.1176, allocations: 162.2 kB / 433.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003657/0.118, allocations: 342.9 kB / 433.8 MB, free: 13.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.118, allocations: 33.7 kB / 433.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.302e-05/0.1181, allocations: 124.1 kB / 434 MB, free: 13.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.1181, allocations: 15.91 kB / 434 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-05/0.1182, allocations: 33.7 kB / 434 MB, free: 13.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1183, allocations: 330.8 kB / 434.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.009e-05/0.1184, allocations: 23.98 kB / 434.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.1185, allocations: 86.86 kB / 434.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.1187, allocations: 84.2 kB / 434.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1187, allocations: 4 kB / 434.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002331/0.1189, allocations: 125.4 kB / 434.7 MB, free: 12.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.119, allocations: 4 kB / 434.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.119, allocations: 0 / 434.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.119, allocations: 4 kB / 434.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.1191, allocations: 19.98 kB / 434.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.1191, allocations: 11.88 kB / 434.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.621e-05/0.1192, allocations: 12 kB / 434.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.1192, allocations: 8 kB / 434.7 MB, free: 12.7 MB / 366.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 0.0001487/0.1193, allocations: 162.1 kB / 434.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.733e-05/0.1194, allocations: 73.39 kB / 435 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.511e-05/0.1195, allocations: 25.7 kB / 435 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1195, allocations: 4 kB / 435 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.1195, allocations: 3.938 kB / 435 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1195, allocations: 0 / 435 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.1197, allocations: 245.6 kB / 435.3 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1197, allocations: 4.062 kB / 435.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.317e-05/0.1198, allocations: 11.98 kB / 435.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1198, allocations: 0 / 435.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.1198, allocations: 4 kB / 435.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1198, allocations: 0 / 435.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.1198, allocations: 3.938 kB / 435.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.1201, allocations: 170.6 kB / 435.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.1202, allocations: 113 kB / 435.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.1202, allocations: 7.984 kB / 435.6 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.928e-05/0.1203, allocations: 8 kB / 435.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.1203, allocations: 11.92 kB / 435.6 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.1204, allocations: 4 kB / 435.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002459/0.1206, allocations: 245.9 kB / 435.8 MB, free: 11.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1206, allocations: 0 / 435.8 MB, free: 11.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000258/0.1209, allocations: 43.86 kB / 435.9 MB, free: 11.47 MB / 366.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.001968/0.1228, allocations: 1.018 MB / 436.9 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002277/0.1231, allocations: 75.91 kB / 437 MB, free: 10.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1231, allocations: 0 / 437 MB, free: 10.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.389e-05/0.1231, allocations: 31.92 kB / 437 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.1235, allocations: 74.23 kB / 437.1 MB, free: 10.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/0.1261, allocations: 2.225 MB / 439.3 MB, free: 8.059 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.1265, allocations: 0.7397 MB / 440 MB, free: 7.293 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.329e-05/0.1266, allocations: 25.78 kB / 440.1 MB, free: 7.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.1267, allocations: 63.42 kB / 440.1 MB, free: 7.207 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1267, allocations: 0 / 440.1 MB, free: 7.207 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/0.1494, allocations: 5.425 MB / 445.5 MB, free: 1.914 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.115/8.264, allocations: 2.656 kB / 445.5 MB, free: 1.914 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat --tempDir=temp_Modelica_4_1_0_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_Modelica_Clocked_Examples_Elementary_IntegerSignals_ShiftSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.867511707998347] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y'] 8.442351364996284 8.611171397 8.494996755 Calling exit ...