Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 117.8 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 190.7 kB / 21.43 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 225.6 MB / 249.8 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_ShiftSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_ShiftSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 47.92 kB / 366.3 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09406/0.0957, allocations: 52.14 MB / 418.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.003807/0.0995, allocations: 1.884 MB / 420.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.1017, allocations: 1.157 MB / 421.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.1019, allocations: 7.938 kB / 421.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003352/0.1022, allocations: 63.67 kB / 421.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003265/0.1025, allocations: 91.59 kB / 421.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008329/0.1034, allocations: 254.6 kB / 421.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002875/0.1037, allocations: 171.5 kB / 422.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1038, allocations: 17.56 kB / 422.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.1039, allocations: 75.69 kB / 422.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.1041, allocations: 91.59 kB / 422.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.1041, allocations: 8 kB / 422.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.1043, allocations: 63.95 kB / 422.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.316e-05/0.1044, allocations: 59.77 kB / 422.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.1045, allocations: 71.48 kB / 422.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003842/0.1049, allocations: 238.9 kB / 422.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1049, allocations: 8 kB / 422.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1049, allocations: 0 / 422.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.1049, allocations: 4 kB / 422.7 MB, free: 8.359 MB / 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.0008366/0.1057, allocations: 0.531 MB / 423.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1057, allocations: 8.031 kB / 423.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.312e-05/0.1058, allocations: 4.125 kB / 423.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.76e-05/0.1058, allocations: 38.75 kB / 423.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.315e-05/0.1059, allocations: 24.8 kB / 423.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004376/0.1063, allocations: 303.7 kB / 423.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.1063, allocations: 8.125 kB / 423.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.1063, allocations: 4 kB / 423.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003578/0.1067, allocations: 162.6 kB / 423.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1067, allocations: 0 / 423.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.1067, allocations: 4 kB / 423.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1067, allocations: 3.938 kB / 423.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.1068, allocations: 31.98 kB / 423.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005929/0.1074, allocations: 394.3 kB / 424.2 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.1077, allocations: 115.9 kB / 424.3 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.73e-05/0.1078, allocations: 46.56 kB / 424.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.1078, allocations: 0 / 424.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001999/0.108, allocations: 79.31 kB / 424.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.1081, allocations: 0 / 424.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004166/0.1085, allocations: 149.5 kB / 424.6 MB, free: 6.242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.1086, allocations: 170.5 kB / 424.8 MB, free: 6.039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003617/0.1089, allocations: 322.6 kB / 425.1 MB, free: 5.715 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.109, allocations: 33.7 kB / 425.1 MB, free: 5.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.486e-05/0.1091, allocations: 120.1 kB / 425.2 MB, free: 5.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.1091, allocations: 19.84 kB / 425.2 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.197e-05/0.1091, allocations: 37.66 kB / 425.3 MB, free: 5.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.1093, allocations: 330.8 kB / 425.6 MB, free: 5.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.347e-05/0.1094, allocations: 27.92 kB / 425.6 MB, free: 5.133 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.1095, allocations: 86.8 kB / 425.7 MB, free: 5.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.1097, allocations: 84.22 kB / 425.8 MB, free: 4.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1097, allocations: 3.984 kB / 425.8 MB, free: 4.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000249/0.1099, allocations: 125.8 kB / 425.9 MB, free: 4.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.1099, allocations: 4 kB / 425.9 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.11, allocations: 4 kB / 425.9 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.11, allocations: 4 kB / 425.9 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.1101, allocations: 16.11 kB / 426 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.1101, allocations: 11.94 kB / 426 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.055e-05/0.1102, allocations: 11.89 kB / 426 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.1102, allocations: 8 kB / 426 MB, free: 4.734 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 0.0001398/0.1103, allocations: 157.8 kB / 426.1 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.803e-05/0.1104, allocations: 61.56 kB / 426.2 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.434e-05/0.1105, allocations: 25.7 kB / 426.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1105, allocations: 4 kB / 426.2 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1105, allocations: 8 kB / 426.2 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1105, allocations: 0 / 426.2 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.1107, allocations: 237.6 kB / 426.5 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1107, allocations: 3.984 kB / 426.5 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.415e-05/0.1108, allocations: 15.94 kB / 426.5 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1108, allocations: 0 / 426.5 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.1108, allocations: 4 kB / 426.5 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.1108, allocations: 3.984 kB / 426.5 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1108, allocations: 3.938 kB / 426.5 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.1111, allocations: 166.6 kB / 426.7 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.1112, allocations: 120.8 kB / 426.8 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.1113, allocations: 0 / 426.8 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.166e-05/0.1113, allocations: 11.98 kB / 426.8 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.1114, allocations: 7.938 kB / 426.8 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.1114, allocations: 7.984 kB / 426.8 MB, free: 3.801 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002562/0.1117, allocations: 245.9 kB / 427.1 MB, free: 3.559 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1117, allocations: 0 / 427.1 MB, free: 3.559 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.1119, allocations: 28 kB / 427.1 MB, free: 3.531 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.00199/0.1139, allocations: 1.03 MB / 428.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002359/0.1141, allocations: 67.91 kB / 428.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.1141, allocations: 7.938 kB / 428.2 MB, free: 2.555 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.028e-05/0.1142, allocations: 19.98 kB / 428.2 MB, free: 2.535 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.1146, allocations: 75.22 kB / 428.3 MB, free: 2.465 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/0.1174, allocations: 2.199 MB / 430.5 MB, free: 152 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.1178, allocations: 0.7358 MB / 431.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.818e-05/0.1179, allocations: 33.52 kB / 431.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.118, allocations: 55.42 kB / 431.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.118, allocations: 0 / 431.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.1423, allocations: 5.341 MB / 436.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.269/8.411, allocations: 4.062 kB / 436.6 MB, free: 10.1 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79104e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_ShiftSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.883304763003252] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y'] 8.58812091697473 8.762251818 8.654325843 Calling exit ...