Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.001331/0.001331, allocations: 117.3 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.001428/0.001428, 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.53/1.53, allocations: 230.4 MB / 254.7 MB, free: 15 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.RealSignals.SubSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",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.002775/0.002775, allocations: 63.88 kB / 373.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1219, allocations: 53.31 MB / 426.9 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003255/0.1252, allocations: 1.599 MB / 428.5 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.1262, allocations: 0.5376 MB / 429 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.037e-05/0.1263, allocations: 8 kB / 429 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.552e-05/0.1264, allocations: 11.86 kB / 429 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.1265, allocations: 11.92 kB / 429.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.1268, allocations: 55.81 kB / 429.1 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.127, allocations: 55.78 kB / 429.2 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1271, allocations: 12.17 kB / 429.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.1272, allocations: 31.86 kB / 429.2 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.28e-05/0.1273, allocations: 23.86 kB / 429.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.1273, allocations: 0 / 429.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.358e-05/0.1273, allocations: 12 kB / 429.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.354e-05/0.1274, allocations: 19.91 kB / 429.3 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.282e-05/0.1274, allocations: 23.81 kB / 429.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.1276, allocations: 63.67 kB / 429.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1276, allocations: 0 / 429.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.218e-06/0.1276, allocations: 4 kB / 429.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.1276, allocations: 0 / 429.4 MB, free: 2.348 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.0005455/0.1281, allocations: 379 kB / 429.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.1282, allocations: 12.03 kB / 429.7 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.674e-05/0.1282, allocations: 34.75 kB / 429.8 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.1284, allocations: 16.88 kB / 429.8 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.1287, allocations: 208.6 kB / 430 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.1287, allocations: 12.12 kB / 430 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.1287, allocations: 0 / 430 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.129, allocations: 117.9 kB / 430.1 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.129, allocations: 0 / 430.1 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.129, allocations: 4 kB / 430.1 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.129, allocations: 4 kB / 430.1 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.546e-05/0.1291, allocations: 23.92 kB / 430.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003547/0.1294, allocations: 278.6 kB / 430.4 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.1296, allocations: 63.8 kB / 430.5 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.957e-05/0.1296, allocations: 34.62 kB / 430.5 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.1297, allocations: 0 / 430.5 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.1297, allocations: 46.48 kB / 430.6 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1297, allocations: 0 / 430.6 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002751/0.13, allocations: 81.52 kB / 430.6 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.453e-05/0.13, allocations: 111.2 kB / 430.8 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.1302, allocations: 150.5 kB / 430.9 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.1302, allocations: 25.7 kB / 430.9 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.1303, allocations: 92.08 kB / 431 MB, free: 432 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.1303, allocations: 0 / 431 MB, free: 432 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.1303, allocations: 21.67 kB / 431 MB, free: 404 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1305, allocations: 318.8 kB / 431.3 MB, free: 76 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.615e-05/0.1305, allocations: 19.92 kB / 431.4 MB, free: 56 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.293e-05/0.1306, allocations: 31.44 kB / 431.4 MB, free: 12 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2295/0.3601, allocations: 41.62 kB / 431.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3601, allocations: 0 / 431.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001572/0.3602, allocations: 72.12 kB / 431.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.3602, allocations: 4.812 kB / 431.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3602, allocations: 1.031 kB / 431.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.3603, allocations: 1.438 kB / 431.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.739e-05/0.3604, allocations: 9.219 kB / 431.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.3604, allocations: 6.938 kB / 431.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.013e-05/0.3604, allocations: 6.156 kB / 431.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.3604, allocations: 4.781 kB / 431.5 MB, free: 8.879 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 7.7e-05/0.3605, allocations: 124.5 kB / 431.7 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.369e-05/0.3606, allocations: 51.8 kB / 431.7 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.837e-05/0.3606, allocations: 16.17 kB / 431.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3606, allocations: 7.812 kB / 431.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3606, allocations: 1.406 kB / 431.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3606, allocations: 1.953 kB / 431.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.3608, allocations: 171.4 kB / 431.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3608, allocations: 0.5938 kB / 431.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.786e-05/0.3609, allocations: 9.859 kB / 431.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3609, allocations: 1.281 kB / 431.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.3609, allocations: 4.938 kB / 431.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3609, allocations: 1.281 kB / 431.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3609, allocations: 0.5625 kB / 431.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.361, allocations: 186 kB / 432.1 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.848e-05/0.3611, allocations: 91 kB / 432.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.3611, allocations: 2.078 kB / 432.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.006e-05/0.3612, allocations: 6.891 kB / 432.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.3612, allocations: 3.266 kB / 432.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.3612, allocations: 5.641 kB / 432.2 MB, free: 8.289 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.383e-05/0.3613, allocations: 111.5 kB / 432.3 MB, free: 8.215 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3613, allocations: 0 / 432.3 MB, free: 8.215 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002291/0.3615, allocations: 7.719 kB / 432.3 MB, free: 8.215 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0003289/0.3619, allocations: 0.7134 MB / 433 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001558/0.362, allocations: 34.7 kB / 433.1 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.362, allocations: 3.938 kB / 433.1 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.973e-05/0.3621, allocations: 10.53 kB / 433.1 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.3625, allocations: 31.09 kB / 433.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.3636, allocations: 1.404 MB / 434.5 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.3638, allocations: 0.6909 MB / 435.2 MB, free: 5.605 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.508e-05/0.3638, allocations: 9.656 kB / 435.2 MB, free: 5.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.096e-05/0.3639, allocations: 16 kB / 435.2 MB, free: 5.598 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3639, allocations: 0 / 435.2 MB, free: 5.598 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02358/0.3874, allocations: 1.718 MB / 437 MB, free: 5.266 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.881/8.269, allocations: 23.62 kB / 437 MB, free: 5.25 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.735597021412104] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'subSample1.y'] 8.340863408055156 8.36231936 8.230511715 Calling exit ...