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.AssignClock.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.001196/0.001196, allocations: 106.5 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.001271/0.001271, allocations: 215 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.268/1.268, allocations: 230.5 MB / 256.4 MB, free: 8.273 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.RealSignals.AssignClock,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",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.001754/0.001754, allocations: 67.83 kB / 376.1 MB, free: 4.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2203, allocations: 53.31 MB / 429.4 MB, free: 7.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002051/0.2223, allocations: 0.9651 MB / 430.4 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003006/0.2226, allocations: 111.6 kB / 430.5 MB, free: 6.391 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.701e-05/0.2227, allocations: 0 / 430.5 MB, free: 6.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.918e-05/0.2227, allocations: 7.922 kB / 430.5 MB, free: 6.383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.2228, allocations: 15.88 kB / 430.5 MB, free: 6.367 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.223, allocations: 39.89 kB / 430.5 MB, free: 6.328 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.774e-05/0.2231, allocations: 39.86 kB / 430.6 MB, free: 6.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.485e-05/0.2232, allocations: 16.17 kB / 430.6 MB, free: 6.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.823e-05/0.2233, allocations: 19.92 kB / 430.6 MB, free: 6.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.162e-05/0.2233, allocations: 19.86 kB / 430.6 MB, free: 6.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.2233, allocations: 4 kB / 430.6 MB, free: 6.227 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.222e-05/0.2233, allocations: 4 kB / 430.6 MB, free: 6.223 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.213e-05/0.2234, allocations: 11.94 kB / 430.7 MB, free: 6.211 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.067e-05/0.2234, allocations: 27.8 kB / 430.7 MB, free: 6.184 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.2235, allocations: 59.12 kB / 430.7 MB, free: 6.129 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.2235, allocations: 0 / 430.7 MB, free: 6.129 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.2235, allocations: 0 / 430.7 MB, free: 6.129 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.2235, allocations: 3.938 kB / 430.7 MB, free: 6.125 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004076/0.224, allocations: 380.1 kB / 431.1 MB, free: 5.707 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.224, allocations: 12.03 kB / 431.1 MB, free: 5.695 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.74e-05/0.224, allocations: 38.69 kB / 431.2 MB, free: 5.648 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.426e-05/0.224, allocations: 8.891 kB / 431.2 MB, free: 5.641 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.2243, allocations: 199.4 kB / 431.4 MB, free: 5.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.2243, allocations: 4.375 kB / 431.4 MB, free: 5.406 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.2243, allocations: 4.375 kB / 431.4 MB, free: 5.402 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.2245, allocations: 139.5 kB / 431.5 MB, free: 5.254 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.2245, allocations: 3.938 kB / 431.5 MB, free: 5.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-06/0.2245, allocations: 0 / 431.5 MB, free: 5.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.2246, allocations: 0 / 431.5 MB, free: 5.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.669e-05/0.2246, allocations: 15.98 kB / 431.5 MB, free: 5.234 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001468/0.2247, allocations: 173.5 kB / 431.7 MB, free: 5.016 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.2249, allocations: 66.72 kB / 431.8 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.731e-05/0.2249, allocations: 40.81 kB / 431.8 MB, free: 4.898 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.2249, allocations: 0 / 431.8 MB, free: 4.898 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.225, allocations: 34.5 kB / 431.8 MB, free: 4.855 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 7.81e-07/0.225, allocations: 0 / 431.8 MB, free: 4.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001685/0.2251, allocations: 90.02 kB / 431.9 MB, free: 4.762 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.2252, allocations: 67.47 kB / 432 MB, free: 4.684 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.2253, allocations: 129.8 kB / 432.1 MB, free: 4.547 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.2253, allocations: 25.7 kB / 432.2 MB, free: 4.516 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/0.2253, allocations: 88.14 kB / 432.2 MB, free: 4.426 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/0.2254, allocations: 7.984 kB / 432.2 MB, free: 4.418 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.2254, allocations: 25.66 kB / 432.3 MB, free: 4.387 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.2255, allocations: 314.8 kB / 432.6 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.146e-05/0.2255, allocations: 15.98 kB / 432.6 MB, free: 4.055 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.906e-05/0.2256, allocations: 58.86 kB / 432.7 MB, free: 3.973 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.966e-05/0.2257, allocations: 74.73 kB / 432.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.2257, allocations: 4 kB / 432.7 MB, free: 3.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001226/0.2258, allocations: 97.61 kB / 432.8 MB, free: 3.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.2258, allocations: 7.938 kB / 432.8 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2258, allocations: 4 kB / 432.8 MB, free: 3.758 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.2258, allocations: 0 / 432.8 MB, free: 3.758 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.785e-05/0.2259, allocations: 19.98 kB / 432.9 MB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.2259, allocations: 192 / 432.9 MB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.323e-05/0.2259, allocations: 11.95 kB / 432.9 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.2259, allocations: 7.938 kB / 432.9 MB, free: 3.719 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 8.801e-05/0.226, allocations: 125.8 kB / 433 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.651e-05/0.2261, allocations: 77.62 kB / 433.1 MB, free: 3.504 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.157e-05/0.2261, allocations: 16.7 kB / 433.1 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.2261, allocations: 0 / 433.1 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-06/0.2261, allocations: 0 / 433.1 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2261, allocations: 0 / 433.1 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.2263, allocations: 169.6 kB / 433.3 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2263, allocations: 0 / 433.3 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.2e-05/0.2263, allocations: 19.92 kB / 433.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.2263, allocations: 0 / 433.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.2263, allocations: 8 kB / 433.3 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2263, allocations: 3.938 kB / 433.3 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2263, allocations: 4 kB / 433.3 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.2264, allocations: 93.08 kB / 433.4 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.407e-05/0.2265, allocations: 96.98 kB / 433.5 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.2265, allocations: 0 / 433.5 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.215e-05/0.2265, allocations: 11.98 kB / 433.5 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-06/0.2265, allocations: 0 / 433.5 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.2265, allocations: 0 / 433.5 MB, free: 3 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.375e-05/0.2266, allocations: 105.9 kB / 433.6 MB, free: 2.898 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2266, allocations: 4 kB / 433.6 MB, free: 2.895 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001854/0.2268, allocations: 8 kB / 433.6 MB, free: 2.887 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0004498/0.2273, allocations: 0.6592 MB / 434.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001009/0.2274, allocations: 44.36 kB / 434.3 MB, free: 2.156 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2274, allocations: 0 / 434.3 MB, free: 2.156 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.81e-07/0.2274, allocations: 0 / 434.3 MB, free: 2.156 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.2276, allocations: 43.94 kB / 434.3 MB, free: 2.113 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.2287, allocations: 1.339 MB / 435.7 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.229, allocations: 0.704 MB / 436.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.645e-05/0.229, allocations: 7.938 kB / 436.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.2291, allocations: 19.44 kB / 436.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of SimCode: time 7.42e-07/0.2291, allocations: 0 / 436.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.2518, allocations: 1.736 MB / 438.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.835/7.087, allocations: 3.938 kB / 438.2 MB, free: 14.24 MB / 350.1 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.110798345005605]