Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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.001375/0.001375, allocations: 120 kB / 18.49 MB, free: 4.566 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.001525/0.001525, allocations: 218.3 kB / 21.46 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.57/1.57, allocations: 230.4 MB / 254.7 MB, free: 15.2 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 63.91 kB / 373.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1302, allocations: 53.37 MB / 427 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.004762/0.135, allocations: 1.901 MB / 428.9 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002764/0.1378, allocations: 1.324 MB / 430.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/0.138, allocations: 3.938 kB / 430.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004272/0.1384, allocations: 71.66 kB / 430.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005183/0.1389, allocations: 131.4 kB / 430.5 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000882/0.1398, allocations: 234.2 kB / 430.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003698/0.1402, allocations: 171.5 kB / 430.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.1403, allocations: 29.53 kB / 430.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.1405, allocations: 75.64 kB / 431 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.1407, allocations: 87.61 kB / 431.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.1407, allocations: 12 kB / 431.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000223/0.1409, allocations: 71.94 kB / 431.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.141, allocations: 51.78 kB / 431.2 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.1411, allocations: 83.41 kB / 431.3 MB, free: 452 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004699/0.1416, allocations: 243 kB / 431.5 MB, free: 208 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1416, allocations: 0 / 431.5 MB, free: 208 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1416, allocations: 0 / 431.5 MB, free: 208 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.1416, allocations: 0 / 431.5 MB, free: 208 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.001018/0.1427, allocations: 0.5426 MB / 432 MB, free: 15.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.1427, allocations: 16.03 kB / 432.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.537e-05/0.1427, allocations: 192 / 432.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.766e-05/0.1428, allocations: 46.67 kB / 432.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.115e-05/0.1429, allocations: 20.8 kB / 432.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005897/0.1434, allocations: 287.8 kB / 432.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.1435, allocations: 8.375 kB / 432.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.1435, allocations: 8.312 kB / 432.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000417/0.1439, allocations: 165.5 kB / 432.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.1439, allocations: 3.938 kB / 432.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.1439, allocations: 4 kB / 432.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1439, allocations: 0 / 432.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.1441, allocations: 39.97 kB / 432.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006289/0.1447, allocations: 394.3 kB / 433 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.145, allocations: 111.9 kB / 433.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.835e-05/0.1451, allocations: 46.55 kB / 433.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.1451, allocations: 4.062 kB / 433.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.1453, allocations: 83.33 kB / 433.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.1453, allocations: 0 / 433.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004323/0.1458, allocations: 149.4 kB / 433.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.1459, allocations: 166.2 kB / 433.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003944/0.1463, allocations: 334.7 kB / 433.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.1463, allocations: 29.7 kB / 433.9 MB, free: 13.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.1464, allocations: 132.3 kB / 434.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.1464, allocations: 19.89 kB / 434.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/0.1465, allocations: 25.72 kB / 434.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1466, allocations: 338.8 kB / 434.4 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.933e-05/0.1467, allocations: 27.92 kB / 434.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.1468, allocations: 86.84 kB / 434.5 MB, free: 12.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.147, allocations: 84.47 kB / 434.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.147, allocations: 4 kB / 434.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002636/0.1473, allocations: 129.4 kB / 434.8 MB, free: 12.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.1473, allocations: 9.719 kB / 434.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1473, allocations: 0 / 434.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1473, allocations: 0 / 434.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.1474, allocations: 19.98 kB / 434.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.1475, allocations: 4 kB / 434.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.241e-05/0.1475, allocations: 7.938 kB / 434.8 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.1475, allocations: 7.938 kB / 434.8 MB, free: 12.55 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,superSample1.y,superSample1.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.000151/0.1477, allocations: 157.9 kB / 435 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.1478, allocations: 73.5 kB / 435 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.105e-05/0.1479, allocations: 21.72 kB / 435 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.1479, allocations: 7.984 kB / 435.1 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1479, allocations: 0 / 435.1 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1479, allocations: 3.938 kB / 435.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.1481, allocations: 241.5 kB / 435.3 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1481, allocations: 0 / 435.3 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.845e-05/0.1482, allocations: 15.98 kB / 435.3 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1482, allocations: 0 / 435.3 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.1482, allocations: 12 kB / 435.3 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1482, allocations: 0 / 435.3 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1482, allocations: 0 / 435.3 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.1485, allocations: 174.6 kB / 435.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.1486, allocations: 112.9 kB / 435.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.1487, allocations: 12 kB / 435.6 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.726e-05/0.1487, allocations: 0 / 435.6 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.1488, allocations: 7.984 kB / 435.6 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.1488, allocations: 8 kB / 435.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002745/0.1491, allocations: 253.9 kB / 435.9 MB, free: 11.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1491, allocations: 0 / 435.9 MB, free: 11.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002952/0.1494, allocations: 31.94 kB / 435.9 MB, free: 11.33 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,superSample1.y,sample1.y,superSample1.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.002147/0.1515, allocations: 1.018 MB / 436.9 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002586/0.1518, allocations: 71.84 kB / 437 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1518, allocations: 256 / 437 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.96e-05/0.1519, allocations: 31.98 kB / 437 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/0.1524, allocations: 67.86 kB / 437.1 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003018/0.1554, allocations: 2.228 MB / 439.3 MB, free: 7.898 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.1558, allocations: 0.7436 MB / 440.1 MB, free: 7.129 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.1559, allocations: 25.53 kB / 440.1 MB, free: 7.105 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.156, allocations: 59.42 kB / 440.2 MB, free: 7.047 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.156, allocations: 0 / 440.2 MB, free: 7.047 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0249/0.1809, allocations: 5.385 MB / 445.5 MB, free: 1.773 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.278/8.459, allocations: 7.484 kB / 445.5 MB, free: 1.77 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.241183689970057] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'superSample1.y'] 8.643177282996476 8.816258313 8.672221448 Calling exit ...