Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001641/0.001641, allocations: 112.6 kB / 18.49 MB, free: 4.562 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.001837/0.001837, allocations: 193 kB / 21.43 MB, free: 1.633 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.463/1.463, allocations: 225.6 MB / 249.8 MB, free: 3.613 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.BooleanSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 51.91 kB / 366.3 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09352/0.09521, allocations: 52.14 MB / 418.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003471/0.09868, allocations: 1.892 MB / 420.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.1006, allocations: 1.068 MB / 421.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.1007, allocations: 11.88 kB / 421.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006114/0.1013, allocations: 155.5 kB / 421.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003411/0.1017, allocations: 115.5 kB / 421.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005942/0.1023, allocations: 198.8 kB / 421.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002962/0.1026, allocations: 171.5 kB / 422.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1027, allocations: 21.55 kB / 422.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.1028, allocations: 83.62 kB / 422.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.103, allocations: 75.61 kB / 422.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.988e-05/0.103, allocations: 16 kB / 422.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.1032, allocations: 59.91 kB / 422.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.288e-05/0.1032, allocations: 47.83 kB / 422.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.855e-05/0.1033, allocations: 63.55 kB / 422.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003668/0.1037, allocations: 207.1 kB / 422.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1037, allocations: 0 / 422.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1037, allocations: 0 / 422.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.1037, allocations: 0 / 422.6 MB, free: 8.434 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.0009047/0.1046, allocations: 0.5077 MB / 423.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.1047, allocations: 12.03 kB / 423.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.474e-05/0.1047, allocations: 4.188 kB / 423.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.779e-05/0.1047, allocations: 42.67 kB / 423.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.316e-05/0.1048, allocations: 24.8 kB / 423.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003898/0.1052, allocations: 270.9 kB / 423.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.1052, allocations: 16.06 kB / 423.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.1052, allocations: 4 kB / 423.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003428/0.1055, allocations: 150.7 kB / 423.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1055, allocations: 0 / 423.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.1056, allocations: 0 / 423.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.1056, allocations: 3.984 kB / 423.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.1057, allocations: 39.92 kB / 423.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005321/0.1062, allocations: 354.5 kB / 424.1 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.1065, allocations: 103.9 kB / 424.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.425e-05/0.1065, allocations: 42.56 kB / 424.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.1066, allocations: 3.938 kB / 424.2 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.1067, allocations: 79.42 kB / 424.3 MB, free: 6.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.1067, allocations: 0 / 424.3 MB, free: 6.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003734/0.1071, allocations: 137.5 kB / 424.4 MB, free: 6.426 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.88e-05/0.1072, allocations: 136.5 kB / 424.5 MB, free: 6.262 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.1075, allocations: 264.9 kB / 424.8 MB, free: 5.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.1075, allocations: 29.7 kB / 424.8 MB, free: 5.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.548e-05/0.1076, allocations: 120.3 kB / 424.9 MB, free: 5.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.1077, allocations: 27.83 kB / 425 MB, free: 5.805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/0.1077, allocations: 25.72 kB / 425 MB, free: 5.773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1079, allocations: 334.8 kB / 425.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.066e-05/0.1079, allocations: 19.92 kB / 425.3 MB, free: 5.418 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.108, allocations: 74 kB / 425.4 MB, free: 5.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.1082, allocations: 76.25 kB / 425.5 MB, free: 5.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.1082, allocations: 0 / 425.5 MB, free: 5.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000225/0.1084, allocations: 113.6 kB / 425.6 MB, free: 5.117 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.1084, allocations: 12.02 kB / 425.6 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1084, allocations: 0 / 425.6 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.1084, allocations: 4 kB / 425.6 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.512e-05/0.1085, allocations: 8.312 kB / 425.6 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.1085, allocations: 11.88 kB / 425.6 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.199e-05/0.1086, allocations: 19.94 kB / 425.7 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.1086, allocations: 4 kB / 425.7 MB, free: 5.059 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,sample1.u,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.0001334/0.1087, allocations: 141.8 kB / 425.8 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.482e-05/0.1088, allocations: 61.55 kB / 425.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.023e-05/0.1089, allocations: 21.7 kB / 425.9 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1089, allocations: 4 kB / 425.9 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1089, allocations: 3.938 kB / 425.9 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1089, allocations: 0 / 425.9 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.1091, allocations: 229.5 kB / 426.1 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1091, allocations: 0 / 426.1 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.851e-05/0.1091, allocations: 7.984 kB / 426.1 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1092, allocations: 3.938 kB / 426.1 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.1092, allocations: 4.062 kB / 426.1 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1092, allocations: 4 kB / 426.1 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.1092, allocations: 3.938 kB / 426.1 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.1094, allocations: 150.7 kB / 426.3 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.1095, allocations: 112.9 kB / 426.4 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.1096, allocations: 0 / 426.4 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.043e-05/0.1096, allocations: 15.98 kB / 426.4 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.1097, allocations: 11.88 kB / 426.4 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.1097, allocations: 7.938 kB / 426.4 MB, free: 4.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002009/0.1099, allocations: 196.5 kB / 426.6 MB, free: 3.988 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1099, allocations: 0 / 426.6 MB, free: 3.988 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.1101, allocations: 24 kB / 426.6 MB, free: 3.965 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,sample1.u,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.001923/0.1121, allocations: 1.011 MB / 427.7 MB, free: 3.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.1123, allocations: 63.91 kB / 427.7 MB, free: 3.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1123, allocations: 4 kB / 427.7 MB, free: 3.016 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.589e-05/0.1124, allocations: 28.17 kB / 427.8 MB, free: 2.988 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.1127, allocations: 59.08 kB / 427.8 MB, free: 2.934 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.115, allocations: 1.932 MB / 429.7 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.1154, allocations: 0.7319 MB / 430.5 MB, free: 128 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.268e-05/0.1154, allocations: 21.53 kB / 430.5 MB, free: 104 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.594e-05/0.1155, allocations: 47.42 kB / 430.5 MB, free: 56 kB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1155, allocations: 3.938 kB / 430.5 MB, free: 52 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.1381, allocations: 4.657 MB / 435.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.966/8.104, allocations: 10.81 kB / 435.2 MB, free: 11.52 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79247e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.80405802000314] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y'] 8.282011407020036 8.50564432 8.198341485 Calling exit ...