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.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.001555/0.001555, allocations: 118.6 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.001911/0.001911, allocations: 218.6 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.669/1.669, allocations: 230.5 MB / 254.7 MB, free: 15.02 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.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",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.002091/0.002091, allocations: 63.84 kB / 373.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1228, allocations: 53.32 MB / 426.9 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003202/0.126, allocations: 1.564 MB / 428.4 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.1273, allocations: 0.5687 MB / 429 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.63e-05/0.1274, allocations: 4 kB / 429 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.194e-05/0.1274, allocations: 3.938 kB / 429 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.1275, allocations: 23.8 kB / 429 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.1279, allocations: 63.73 kB / 429.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000112/0.128, allocations: 43.86 kB / 429.1 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1281, allocations: 12.17 kB / 429.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.1282, allocations: 35.84 kB / 429.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.153e-05/0.1283, allocations: 19.86 kB / 429.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.1283, allocations: 4 kB / 429.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.208e-05/0.1283, allocations: 4 kB / 429.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.466e-05/0.1284, allocations: 11.94 kB / 429.2 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.565e-05/0.1284, allocations: 31.8 kB / 429.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.1285, allocations: 55.75 kB / 429.3 MB, free: 2.422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.1285, allocations: 7.922 kB / 429.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1286, allocations: 0 / 429.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.1286, allocations: 0 / 429.3 MB, free: 2.414 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.0006037/0.1292, allocations: 381.6 kB / 429.7 MB, free: 1.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.1292, allocations: 8.031 kB / 429.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.171e-05/0.1293, allocations: 38.69 kB / 429.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.1294, allocations: 20.88 kB / 429.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.1297, allocations: 204.2 kB / 430 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.1297, allocations: 4.375 kB / 430 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.1297, allocations: 384 / 430 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.13, allocations: 117 kB / 430.1 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.13, allocations: 4 kB / 430.1 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1301, allocations: 4 kB / 430.1 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1301, allocations: 0 / 430.1 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.047e-05/0.1301, allocations: 19.92 kB / 430.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.1305, allocations: 261.8 kB / 430.4 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.051e-05/0.1306, allocations: 49.14 kB / 430.4 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.153e-05/0.1306, allocations: 17.78 kB / 430.4 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.1307, allocations: 4 kB / 430.4 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.1307, allocations: 30.56 kB / 430.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.1307, allocations: 3.938 kB / 430.5 MB, free: 1.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002296/0.1309, allocations: 69.66 kB / 430.5 MB, free: 1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.09e-05/0.131, allocations: 85.11 kB / 430.6 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.1311, allocations: 137.8 kB / 430.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.1312, allocations: 25.7 kB / 430.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.458e-05/0.1312, allocations: 88.14 kB / 430.9 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.1313, allocations: 7.938 kB / 430.9 MB, free: 0.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.1313, allocations: 17.72 kB / 430.9 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1315, allocations: 318.9 kB / 431.2 MB, free: 288 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.46e-05/0.1315, allocations: 15.98 kB / 431.2 MB, free: 272 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.129e-05/0.1315, allocations: 17.66 kB / 431.2 MB, free: 248 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.051e-05/0.1316, allocations: 33.64 kB / 431.3 MB, free: 208 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1316, allocations: 4.062 kB / 431.3 MB, free: 204 kB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001264/0.1318, allocations: 61.56 kB / 431.3 MB, free: 136 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1318, allocations: 4 kB / 431.3 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1318, allocations: 4 kB / 431.3 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.1318, allocations: 0 / 431.3 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.351e-05/0.1318, allocations: 4 kB / 431.3 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1319, allocations: 0 / 431.3 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.477e-05/0.1319, allocations: 4 kB / 431.3 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.1319, allocations: 3.984 kB / 431.3 MB, free: 116 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.247/0.3789, allocations: 121.3 kB / 431.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.3791, allocations: 38.34 kB / 431.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.034e-05/0.3791, allocations: 12.89 kB / 431.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.3791, allocations: 2.75 kB / 431.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.3791, allocations: 0 / 431.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3791, allocations: 0 / 431.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.3793, allocations: 167 kB / 431.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.3793, allocations: 1.344 kB / 431.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.741e-05/0.3794, allocations: 7.953 kB / 431.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.3794, allocations: 1.031 kB / 431.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.3794, allocations: 1.922 kB / 431.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.3794, allocations: 1.375 kB / 431.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3794, allocations: 4.828 kB / 431.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.3796, allocations: 162.6 kB / 431.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.3796, allocations: 92.92 kB / 431.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.3797, allocations: 8.438 kB / 432 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.035e-05/0.3797, allocations: 2.797 kB / 432 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.3798, allocations: 5.281 kB / 432 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.3798, allocations: 3.953 kB / 432 MB, free: 10.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.16e-05/0.3799, allocations: 109.9 kB / 432.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3799, allocations: 0 / 432.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002848/0.3802, allocations: 5.406 kB / 432.1 MB, free: 10.42 MB / 350.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.0003042/0.3805, allocations: 0.6949 MB / 432.8 MB, free: 9.758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001363/0.3806, allocations: 22.58 kB / 432.8 MB, free: 9.758 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3806, allocations: 1.219 kB / 432.8 MB, free: 9.758 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.611e-05/0.3806, allocations: 8 kB / 432.8 MB, free: 9.758 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.381, allocations: 29.52 kB / 432.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.3821, allocations: 1.319 MB / 434.2 MB, free: 8.574 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/0.3823, allocations: 0.693 MB / 434.8 MB, free: 7.879 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.397e-05/0.3823, allocations: 1.656 kB / 434.8 MB, free: 7.879 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.3823, allocations: 13.59 kB / 434.9 MB, free: 7.871 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3823, allocations: 0 / 434.9 MB, free: 7.871 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.4075, allocations: 1.581 MB / 436.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.265/8.673, allocations: 24.59 kB / 436.5 MB, free: 7.555 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --stepSize=1.59331e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.271109689027071] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 8.741621424909681 8.762614428 8.630078127 Calling exit ...