Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001449/0.001449, allocations: 105 kB / 19.74 MB, free: 2.453 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.001621/0.001621, allocations: 218.4 kB / 22.92 MB, free: 5.195 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.302/1.302, allocations: 230.4 MB / 256.4 MB, free: 8.285 MB / 206.1 MB " [Timeout remaining time 179] 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.IntegerSignals.SubSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.001828/0.001828, allocations: 71.83 kB / 376.1 MB, free: 4.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2275, allocations: 53.31 MB / 429.4 MB, free: 7.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.003184/0.2307, allocations: 1.929 MB / 431.3 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002032/0.2327, allocations: 1.286 MB / 432.6 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.2328, allocations: 7.938 kB / 432.6 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002804/0.2331, allocations: 67.67 kB / 432.7 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003132/0.2334, allocations: 135.4 kB / 432.8 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005758/0.234, allocations: 218.4 kB / 433 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.2342, allocations: 183.5 kB / 433.2 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.638e-05/0.2343, allocations: 21.55 kB / 433.2 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.2344, allocations: 79.69 kB / 433.3 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.2346, allocations: 87.61 kB / 433.4 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.2346, allocations: 8 kB / 433.4 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.2348, allocations: 71.94 kB / 433.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.658e-05/0.2348, allocations: 51.78 kB / 433.5 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.2349, allocations: 83.41 kB / 433.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003378/0.2353, allocations: 239.4 kB / 433.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2353, allocations: 0 / 433.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2353, allocations: 0 / 433.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.2353, allocations: 0 / 433.8 MB, free: 3.012 MB / 334.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.0007108/0.236, allocations: 0.5465 MB / 434.4 MB, free: 2.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.236, allocations: 12.03 kB / 434.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.419e-05/0.2361, allocations: 34.75 kB / 434.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.752e-05/0.2361, allocations: 28.73 kB / 434.5 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.2365, allocations: 291.8 kB / 434.7 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.2365, allocations: 4.375 kB / 434.7 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.2366, allocations: 7.938 kB / 434.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/0.2369, allocations: 159.6 kB / 434.9 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2369, allocations: 4 kB / 434.9 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.2369, allocations: 8 kB / 434.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.2369, allocations: 3.938 kB / 434.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.237, allocations: 35.98 kB / 435 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004865/0.2375, allocations: 386.3 kB / 435.3 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.2377, allocations: 123.8 kB / 435.5 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.782e-05/0.2378, allocations: 38.56 kB / 435.5 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.2379, allocations: 7.938 kB / 435.5 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.238, allocations: 83.31 kB / 435.6 MB, free: 1.027 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.238, allocations: 0 / 435.6 MB, free: 1.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.000368/0.2384, allocations: 153.4 kB / 435.7 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.896e-05/0.2385, allocations: 162.2 kB / 435.9 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003356/0.2388, allocations: 334.6 kB / 436.2 MB, free: 348 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.2389, allocations: 29.7 kB / 436.2 MB, free: 312 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.239, allocations: 132.3 kB / 436.4 MB, free: 176 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.239, allocations: 15.98 kB / 436.4 MB, free: 160 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-05/0.239, allocations: 33.7 kB / 436.4 MB, free: 120 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.2392, allocations: 334.8 kB / 436.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.924e-05/0.2393, allocations: 23.98 kB / 436.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.2394, allocations: 90.78 kB / 436.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.2395, allocations: 80.22 kB / 436.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2395, allocations: 0 / 436.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002301/0.2398, allocations: 133.4 kB / 437.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.2398, allocations: 6.812 kB / 437.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2398, allocations: 4 kB / 437.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.2398, allocations: 0 / 437.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.2399, allocations: 23.98 kB / 437.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.2399, allocations: 0 / 437.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.468e-05/0.24, allocations: 12.19 kB / 437.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.24, allocations: 4 kB / 437.1 MB, free: 15.37 MB / 350.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,subSample1.y,subSample1.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.0001525/0.2402, allocations: 165.8 kB / 437.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.962e-05/0.2402, allocations: 73.53 kB / 437.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/0.2405, allocations: 119.3 kB / 437.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.2405, allocations: 4 kB / 437.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2405, allocations: 0 / 437.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.2405, allocations: 3.938 kB / 437.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/0.2407, allocations: 237.6 kB / 437.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2407, allocations: 0 / 437.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.459e-05/0.2408, allocations: 15.98 kB / 437.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2408, allocations: 4.062 kB / 437.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.2408, allocations: 4 kB / 437.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2408, allocations: 0 / 437.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2408, allocations: 0 / 437.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.2411, allocations: 170.5 kB / 437.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.2412, allocations: 120.9 kB / 438 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/0.2412, allocations: 4 kB / 438 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.291e-05/0.2413, allocations: 4 kB / 438 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.2413, allocations: 19.86 kB / 438 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.2413, allocations: 4 kB / 438.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002432/0.2416, allocations: 245.9 kB / 438.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2416, allocations: 0 / 438.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.2419, allocations: 35.94 kB / 438.3 MB, free: 14.05 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: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * 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.00191/0.2438, allocations: 1.021 MB / 439.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.244, allocations: 71.91 kB / 439.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.244, allocations: 4.25 kB / 439.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.916e-05/0.2441, allocations: 27.92 kB / 439.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.2445, allocations: 63.22 kB / 439.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/0.247, allocations: 2.224 MB / 441.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.2473, allocations: 0.7475 MB / 442.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.794e-05/0.2474, allocations: 33.52 kB / 442.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.508e-05/0.2475, allocations: 59.41 kB / 442.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of SimCode: time 4.3e-07/0.2475, allocations: 0 / 442.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02765/0.2751, allocations: 5.332 MB / 447.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.089/7.364, allocations: 0 / 447.9 MB, free: 4.5 MB / 350.1 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SubSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.472289542994986]