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.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.001558/0.001558, allocations: 116.5 kB / 18.5 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.001757/0.001757, allocations: 212.9 kB / 21.46 MB, free: 1.605 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.575/1.575, allocations: 230.4 MB / 254.7 MB, free: 15.19 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.SubSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_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.001953/0.001953, allocations: 71.81 kB / 373.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1171, allocations: 53.31 MB / 426.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003015/0.1201, allocations: 1.576 MB / 428.4 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.1211, allocations: 0.5376 MB / 429 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.85e-05/0.1212, allocations: 3.938 kB / 429 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.292e-05/0.1213, allocations: 11.92 kB / 429 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.1214, allocations: 7.875 kB / 429 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.1217, allocations: 63.81 kB / 429.1 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.1218, allocations: 43.8 kB / 429.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.122, allocations: 20.16 kB / 429.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.1221, allocations: 23.92 kB / 429.2 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.387e-05/0.1221, allocations: 23.86 kB / 429.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.1222, allocations: 4 kB / 429.2 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.324e-05/0.1222, allocations: 8 kB / 429.2 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.836e-05/0.1223, allocations: 15.92 kB / 429.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.365e-05/0.1223, allocations: 23.8 kB / 429.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.1224, allocations: 59.69 kB / 429.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.1225, allocations: 15.92 kB / 429.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1225, allocations: 0 / 429.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1225, allocations: 0 / 429.3 MB, free: 2.453 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.0005334/0.123, allocations: 375.1 kB / 429.7 MB, free: 2.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.123, allocations: 12.03 kB / 429.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.867e-05/0.1231, allocations: 34.75 kB / 429.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.1232, allocations: 16.88 kB / 429.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.1235, allocations: 202.8 kB / 429.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.1235, allocations: 4.375 kB / 429.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.1235, allocations: 4.375 kB / 429.9 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.1238, allocations: 109 kB / 430 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1238, allocations: 3.938 kB / 430 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.1238, allocations: 4 kB / 430.1 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1238, allocations: 0 / 430.1 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.381e-05/0.1239, allocations: 19.98 kB / 430.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003326/0.1242, allocations: 261.8 kB / 430.3 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.254e-05/0.1243, allocations: 49.14 kB / 430.4 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.764e-05/0.1244, allocations: 17.78 kB / 430.4 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.1244, allocations: 0 / 430.4 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.1244, allocations: 34.56 kB / 430.4 MB, free: 1.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1244, allocations: 3.938 kB / 430.4 MB, free: 1.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002499/0.1247, allocations: 73.78 kB / 430.5 MB, free: 1.051 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.1247, allocations: 81.05 kB / 430.6 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.1249, allocations: 141.8 kB / 430.7 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.1249, allocations: 29.7 kB / 430.7 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.344e-05/0.125, allocations: 88.14 kB / 430.8 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.125, allocations: 7.938 kB / 430.8 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.125, allocations: 13.72 kB / 430.9 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1252, allocations: 322.8 kB / 431.2 MB, free: 336 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.042e-05/0.1252, allocations: 11.92 kB / 431.2 MB, free: 324 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.273e-05/0.1252, allocations: 21.72 kB / 431.2 MB, free: 296 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.415e-05/0.1253, allocations: 25.7 kB / 431.2 MB, free: 264 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1253, allocations: 0 / 431.2 MB, free: 264 kB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001293/0.1255, allocations: 69.62 kB / 431.3 MB, free: 188 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1255, allocations: 4 kB / 431.3 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1255, allocations: 0 / 431.3 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1255, allocations: 0 / 431.3 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.038e-05/0.1256, allocations: 8 kB / 431.3 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.1256, allocations: 4 kB / 431.3 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.304e-05/0.1256, allocations: 0 / 431.3 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.1256, allocations: 3.984 kB / 431.3 MB, free: 168 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 9.203e-05/0.1257, allocations: 125.8 kB / 431.4 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.999e-05/0.1258, allocations: 37.66 kB / 431.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.715e-05/0.1258, allocations: 11.86 kB / 431.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1258, allocations: 0 / 431.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.1258, allocations: 4 kB / 431.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1258, allocations: 0 / 431.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.126, allocations: 169.6 kB / 431.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.126, allocations: 0 / 431.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.164e-05/0.1261, allocations: 4 kB / 431.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1261, allocations: 4 kB / 431.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.1261, allocations: 8.016 kB / 431.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1261, allocations: 0 / 431.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.1261, allocations: 3.984 kB / 431.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.1263, allocations: 164.2 kB / 431.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.567e-05/0.1263, allocations: 93.05 kB / 431.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.1263, allocations: 3.938 kB / 431.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.801e-05/0.1264, allocations: 12.02 kB / 431.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.1264, allocations: 0 / 431.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.1264, allocations: 0 / 431.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.281e-05/0.1265, allocations: 113 kB / 432.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1265, allocations: 0 / 432.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002251/0.1268, allocations: 4 kB / 432.1 MB, free: 15.31 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.0004746/0.1272, allocations: 0.6937 MB / 432.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001643/0.1274, allocations: 23.97 kB / 432.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1274, allocations: 0 / 432.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.698e-05/0.1274, allocations: 8.156 kB / 432.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.1278, allocations: 27.95 kB / 432.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.1293, allocations: 1.323 MB / 434.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.1296, allocations: 0.6924 MB / 434.8 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.698e-05/0.1296, allocations: 0 / 434.8 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.059e-05/0.1297, allocations: 19.44 kB / 434.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1297, allocations: 0 / 434.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02639/0.1561, allocations: 1.586 MB / 436.4 MB, free: 10.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.366/8.522, allocations: 4.062 kB / 436.4 MB, free: 10.94 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_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_ClockSignals_SubSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.202429783996195] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 8.59076190367341 8.801143692 8.479953067 Calling exit ...