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.BackSample.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.001424/0.001424, allocations: 109 kB / 19.74 MB, free: 2.586 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.001517/0.001517, allocations: 215.2 kB / 22.92 MB, free: 5.559 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.291/1.291, allocations: 230.5 MB / 256.4 MB, free: 8.281 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.BackSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_BackSample",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.001826/0.001826, allocations: 71.83 kB / 376.1 MB, free: 4.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2139, allocations: 53.32 MB / 429.4 MB, free: 7.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.003083/0.217, allocations: 1.949 MB / 431.3 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.219, allocations: 1.332 MB / 432.7 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.2191, allocations: 7.938 kB / 432.7 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002611/0.2193, allocations: 67.67 kB / 432.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003135/0.2196, allocations: 131.4 kB / 432.9 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000561/0.2202, allocations: 237.9 kB / 433.1 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.2204, allocations: 191.5 kB / 433.3 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.49e-05/0.2205, allocations: 21.67 kB / 433.3 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.2206, allocations: 87.61 kB / 433.4 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.2208, allocations: 87.61 kB / 433.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.2208, allocations: 8 kB / 433.5 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.2209, allocations: 67.95 kB / 433.6 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.015e-05/0.221, allocations: 59.77 kB / 433.6 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.651e-05/0.2211, allocations: 87.42 kB / 433.7 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003226/0.2214, allocations: 251.3 kB / 434 MB, free: 2.891 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2214, allocations: 4 kB / 434 MB, free: 2.887 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2214, allocations: 0 / 434 MB, free: 2.887 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.2214, allocations: 0 / 434 MB, free: 2.887 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006953/0.2221, allocations: 0.5503 MB / 434.5 MB, free: 2.281 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.2222, allocations: 12.03 kB / 434.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.79e-05/0.2222, allocations: 38.75 kB / 434.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.152e-05/0.2223, allocations: 28.73 kB / 434.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.2226, allocations: 307.7 kB / 434.9 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.2227, allocations: 8.375 kB / 434.9 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.2227, allocations: 11.94 kB / 434.9 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.223, allocations: 175.5 kB / 435.1 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.223, allocations: 7.922 kB / 435.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.223, allocations: 4 kB / 435.1 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.223, allocations: 4 kB / 435.1 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.2232, allocations: 43.91 kB / 435.1 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004886/0.2236, allocations: 399.2 kB / 435.5 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.2239, allocations: 150.4 kB / 435.7 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.224, allocations: 51.42 kB / 435.7 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.224, allocations: 4 kB / 435.7 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.2242, allocations: 87.31 kB / 435.8 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.2242, allocations: 0 / 435.8 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003858/0.2246, allocations: 165.4 kB / 436 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.2247, allocations: 191.9 kB / 436.2 MB, free: 392 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/0.2251, allocations: 351.2 kB / 436.5 MB, free: 32 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.2251, allocations: 33.7 kB / 436.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.2e-05/0.2252, allocations: 132.3 kB / 436.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.2252, allocations: 19.89 kB / 436.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.488e-05/0.2253, allocations: 37.66 kB / 436.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.2254, allocations: 334.8 kB / 437.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.056e-05/0.2255, allocations: 23.98 kB / 437.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.2256, allocations: 108.5 kB / 437.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.2258, allocations: 101.9 kB / 437.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2258, allocations: 0 / 437.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002478/0.226, allocations: 133.4 kB / 437.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.226, allocations: 8 kB / 437.4 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.226, allocations: 0 / 437.4 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.2261, allocations: 4.188 kB / 437.4 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.2262, allocations: 27.92 kB / 437.5 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.2262, allocations: 4 kB / 437.5 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.386e-05/0.2263, allocations: 19.86 kB / 437.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.2263, allocations: 4 kB / 437.5 MB, free: 14.97 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001393/0.2264, allocations: 157.8 kB / 437.6 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.2265, allocations: 81.75 kB / 437.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002543/0.2268, allocations: 131.5 kB / 437.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.2268, allocations: 0 / 437.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2268, allocations: 4 kB / 437.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.2268, allocations: 3.938 kB / 437.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.227, allocations: 249.6 kB / 438.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.227, allocations: 0 / 438.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.443e-05/0.2271, allocations: 19.92 kB / 438.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.2271, allocations: 0 / 438.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.2271, allocations: 4 kB / 438.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2271, allocations: 3.938 kB / 438.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.2271, allocations: 8 kB / 438.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.2274, allocations: 183.3 kB / 438.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.2275, allocations: 124.8 kB / 438.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.2275, allocations: 8 kB / 438.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.99e-05/0.2276, allocations: 8 kB / 438.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.2276, allocations: 11.92 kB / 438.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.2276, allocations: 8 kB / 438.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002403/0.2279, allocations: 249.9 kB / 438.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2279, allocations: 0 / 438.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.2281, allocations: 39.92 kB / 438.7 MB, free: 13.59 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.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 (11): * Single equations (assignments): 9 * 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.001864/0.23, allocations: 1.043 MB / 439.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002205/0.2302, allocations: 75.84 kB / 439.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.2302, allocations: 4.375 kB / 439.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.054e-05/0.2303, allocations: 31.92 kB / 439.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.2307, allocations: 83.55 kB / 440 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.2332, allocations: 2.313 MB / 442.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.2336, allocations: 0.7476 MB / 443 MB, free: 9.242 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.778e-05/0.2337, allocations: 33.78 kB / 443.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.546e-05/0.2338, allocations: 59.42 kB / 443.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2338, allocations: 0 / 443.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02906/0.2628, allocations: 5.692 MB / 448.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.23/7.493, allocations: 11.69 kB / 448.8 MB, free: 3.52 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_BackSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.612802874995396]