Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.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.00188/0.00188, allocations: 117.8 kB / 18.5 MB, free: 4.434 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.002134/0.002134, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.63/1.63, allocations: 230.5 MB / 254.7 MB, free: 15.18 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.ClockSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_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.001896/0.001896, allocations: 75.81 kB / 373.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1222, allocations: 53.31 MB / 426.9 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003009/0.1252, allocations: 1.572 MB / 428.4 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.1263, allocations: 0.5648 MB / 429 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.895e-05/0.1264, allocations: 4 kB / 429 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.33e-05/0.1264, allocations: 3.938 kB / 429 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.1266, allocations: 19.84 kB / 429 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.1269, allocations: 67.81 kB / 429.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.127, allocations: 47.8 kB / 429.1 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1271, allocations: 12.17 kB / 429.2 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.1272, allocations: 31.84 kB / 429.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.596e-05/0.1273, allocations: 23.86 kB / 429.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.1273, allocations: 0 / 429.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.214e-05/0.1274, allocations: 12 kB / 429.2 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.427e-05/0.1274, allocations: 11.94 kB / 429.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.541e-05/0.1274, allocations: 23.8 kB / 429.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.1276, allocations: 67.66 kB / 429.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1276, allocations: 8 kB / 429.3 MB, free: 2.426 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1276, allocations: 0 / 429.3 MB, free: 2.426 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1276, allocations: 0 / 429.3 MB, free: 2.426 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006075/0.1282, allocations: 375.1 kB / 429.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.1283, allocations: 12.03 kB / 429.7 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.517e-05/0.1283, allocations: 38.69 kB / 429.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.1285, allocations: 20.88 kB / 429.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.1288, allocations: 200.7 kB / 430 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.1288, allocations: 12.11 kB / 430 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.1288, allocations: 4 kB / 430 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.1291, allocations: 97.05 kB / 430.1 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1291, allocations: 0 / 430.1 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.1291, allocations: 4 kB / 430.1 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1291, allocations: 0 / 430.1 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.547e-05/0.1292, allocations: 23.92 kB / 430.1 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.1295, allocations: 261.8 kB / 430.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.482e-05/0.1296, allocations: 53.14 kB / 430.4 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.414e-05/0.1297, allocations: 13.78 kB / 430.4 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.1297, allocations: 0 / 430.4 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.1297, allocations: 42.55 kB / 430.5 MB, free: 1.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.1297, allocations: 0 / 430.5 MB, free: 1.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.000234/0.13, allocations: 65.8 kB / 430.5 MB, free: 1.023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.91e-05/0.13, allocations: 85.09 kB / 430.6 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.1302, allocations: 143.3 kB / 430.8 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.1302, allocations: 29.7 kB / 430.8 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.458e-05/0.1303, allocations: 92.11 kB / 430.9 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.221e-05/0.1303, allocations: 7.891 kB / 430.9 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.1303, allocations: 17.72 kB / 430.9 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1305, allocations: 318.9 kB / 431.2 MB, free: 300 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.885e-05/0.1305, allocations: 12 kB / 431.2 MB, free: 288 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.228e-05/0.1306, allocations: 21.64 kB / 431.2 MB, free: 260 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.09e-05/0.1307, allocations: 29.7 kB / 431.3 MB, free: 224 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1307, allocations: 0 / 431.3 MB, free: 224 kB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001329/0.1308, allocations: 61.64 kB / 431.3 MB, free: 156 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1308, allocations: 8 kB / 431.3 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/0.1308, allocations: 0 / 431.3 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1308, allocations: 0 / 431.3 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.417e-05/0.1309, allocations: 4 kB / 431.3 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1309, allocations: 11.86 kB / 431.4 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.477e-05/0.1309, allocations: 4 kB / 431.4 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.1309, allocations: 0 / 431.4 MB, free: 128 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001169/0.1311, allocations: 117.9 kB / 431.5 MB, free: 0 / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.1312, allocations: 41.64 kB / 431.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.936e-05/0.1312, allocations: 11.88 kB / 431.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1312, allocations: 3.938 kB / 431.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.1312, allocations: 3.938 kB / 431.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.1312, allocations: 4 kB / 431.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.1315, allocations: 169.7 kB / 431.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1315, allocations: 0 / 431.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.707e-05/0.1315, allocations: 7.984 kB / 431.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.1315, allocations: 4 kB / 431.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.1315, allocations: 4.031 kB / 431.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1316, allocations: 0 / 431.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.1316, allocations: 3.938 kB / 431.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.1318, allocations: 160.3 kB / 431.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.761e-05/0.1319, allocations: 89.05 kB / 432 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.1319, allocations: 0 / 432 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.664e-05/0.132, allocations: 8.031 kB / 432 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.132, allocations: 7.875 kB / 432 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.132, allocations: 0 / 432 MB, free: 15.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.1321, allocations: 118.2 kB / 432.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1321, allocations: 0 / 432.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002374/0.1324, allocations: 4 kB / 432.1 MB, free: 15.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0006458/0.133, allocations: 0.6937 MB / 432.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001771/0.1332, allocations: 23.92 kB / 432.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1332, allocations: 0 / 432.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.201e-05/0.1332, allocations: 16.08 kB / 432.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.1337, allocations: 24.02 kB / 432.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.1355, allocations: 1.326 MB / 434.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005054/0.136, allocations: 0.6924 MB / 434.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.252e-05/0.1361, allocations: 3.984 kB / 434.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.003e-05/0.1362, allocations: 19.44 kB / 434.9 MB, free: 12.33 MB / 366.1 MB Notification: Performance of SimCode: time 1.102e-06/0.1362, allocations: 0 / 434.9 MB, free: 12.33 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02594/0.1621, allocations: 1.667 MB / 436.6 MB, free: 10.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.385/8.548, allocations: 6.812 kB / 436.6 MB, free: 10.8 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79319e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.300597704946995] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 8.618358990177512 8.861439669 8.730600992 Calling exit ...