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.001318/0.001318, allocations: 109 kB / 21.23 MB, free: 0.5117 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.001449/0.001449, allocations: 209.9 kB / 24.54 MB, free: 3.906 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.523/1.523, allocations: 230.6 MB / 258.3 MB, free: 8.215 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.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.002979/0.002979, allocations: 64.78 kB / 378.6 MB, free: 3.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3076, allocations: 53.36 MB / 431.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002405/0.31, allocations: 0.9684 MB / 432.9 MB, free: 5.945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004031/0.3104, allocations: 123.6 kB / 433 MB, free: 5.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.428e-05/0.3105, allocations: 3.938 kB / 433 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.754e-05/0.3106, allocations: 7.922 kB / 433 MB, free: 5.812 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.3107, allocations: 11.88 kB / 433 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.3109, allocations: 35.89 kB / 433.1 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.311, allocations: 39.92 kB / 433.1 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.3112, allocations: 16.17 kB / 433.1 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.649e-05/0.3112, allocations: 11.94 kB / 433.1 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.013e-05/0.3112, allocations: 27.8 kB / 433.2 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.3113, allocations: 4 kB / 433.2 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.372e-05/0.3113, allocations: 8 kB / 433.2 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.529e-05/0.3113, allocations: 19.91 kB / 433.2 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.275e-05/0.3114, allocations: 23.81 kB / 433.2 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.3115, allocations: 59.39 kB / 433.3 MB, free: 5.559 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3115, allocations: 0 / 433.3 MB, free: 5.559 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3115, allocations: 0 / 433.3 MB, free: 5.559 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.3115, allocations: 0 / 433.3 MB, free: 5.559 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.0004465/0.312, allocations: 299.1 kB / 433.6 MB, free: 5.238 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.312, allocations: 12.03 kB / 433.6 MB, free: 5.227 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.503e-05/0.312, allocations: 38.73 kB / 433.6 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.845e-05/0.3121, allocations: 12.89 kB / 433.6 MB, free: 5.168 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.3123, allocations: 137.4 kB / 433.8 MB, free: 5.012 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.3123, allocations: 12.31 kB / 433.8 MB, free: 5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.3123, allocations: 4.375 kB / 433.8 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.3126, allocations: 135.5 kB / 433.9 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3126, allocations: 0 / 433.9 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.3126, allocations: 0 / 433.9 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3126, allocations: 0 / 433.9 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.468e-05/0.3127, allocations: 23.94 kB / 433.9 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/0.3129, allocations: 148.6 kB / 434.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.313, allocations: 54.72 kB / 434.1 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.758e-05/0.3131, allocations: 40.89 kB / 434.2 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.3131, allocations: 4 kB / 434.2 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.3131, allocations: 42.44 kB / 434.2 MB, free: 4.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.3131, allocations: 0 / 434.2 MB, free: 4.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002107/0.3133, allocations: 85.78 kB / 434.3 MB, free: 4.391 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.552e-05/0.3134, allocations: 59.41 kB / 434.4 MB, free: 4.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.3135, allocations: 129.8 kB / 434.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.3135, allocations: 29.7 kB / 434.5 MB, free: 4.148 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.319e-05/0.3136, allocations: 92.12 kB / 434.6 MB, free: 4.055 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.3136, allocations: 4 kB / 434.6 MB, free: 4.051 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.3136, allocations: 17.72 kB / 434.6 MB, free: 4.027 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.3138, allocations: 326.8 kB / 434.9 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.205e-05/0.3138, allocations: 8 kB / 435 MB, free: 3.691 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.791e-05/0.3139, allocations: 62.8 kB / 435 MB, free: 3.605 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.314, allocations: 74.75 kB / 435.1 MB, free: 3.508 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.314, allocations: 0 / 435.1 MB, free: 3.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001405/0.3142, allocations: 97.44 kB / 435.2 MB, free: 3.406 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.3142, allocations: 8 kB / 435.2 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3142, allocations: 0 / 435.2 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.3142, allocations: 4.25 kB / 435.2 MB, free: 3.395 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.116e-05/0.3143, allocations: 19.94 kB / 435.2 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.3143, allocations: 4 kB / 435.2 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.521e-05/0.3143, allocations: 3.953 kB / 435.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.3143, allocations: 7.984 kB / 435.2 MB, free: 3.359 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 0.0001169/0.3145, allocations: 121.8 kB / 435.3 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.3146, allocations: 77.52 kB / 435.4 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.914e-05/0.3146, allocations: 12.91 kB / 435.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3146, allocations: 0 / 435.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.3146, allocations: 3.938 kB / 435.4 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3146, allocations: 4 kB / 435.4 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.3147, allocations: 148.7 kB / 435.6 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3147, allocations: 0 / 435.6 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.055e-05/0.3148, allocations: 15.94 kB / 435.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3148, allocations: 0 / 435.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.3148, allocations: 3.984 kB / 435.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3148, allocations: 0 / 435.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.3148, allocations: 0 / 435.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.3149, allocations: 113 kB / 435.7 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.054e-05/0.315, allocations: 19.89 kB / 435.7 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.315, allocations: 3.984 kB / 435.7 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.828e-05/0.315, allocations: 0 / 435.7 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-06/0.315, allocations: 4 kB / 435.7 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.315, allocations: 0 / 435.7 MB, free: 2.762 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.078e-05/0.3151, allocations: 106.1 kB / 435.8 MB, free: 2.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3151, allocations: 0 / 435.8 MB, free: 2.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002051/0.3153, allocations: 12 kB / 435.9 MB, free: 2.648 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.000557/0.3159, allocations: 0.6558 MB / 436.5 MB, free: 1.965 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.316, allocations: 43.86 kB / 436.6 MB, free: 1.922 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.316, allocations: 4 kB / 436.6 MB, free: 1.918 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.316, allocations: 0.5625 kB / 436.6 MB, free: 1.918 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.3163, allocations: 45.67 kB / 436.6 MB, free: 1.875 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.3176, allocations: 1.348 MB / 438 MB, free: 408 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.318, allocations: 0.6924 MB / 438.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.372e-05/0.318, allocations: 15.94 kB / 438.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.678e-05/0.3181, allocations: 19.53 kB / 438.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3181, allocations: 3.938 kB / 438.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03007/0.3482, allocations: 1.772 MB / 440.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.502/8.85, allocations: 3.562 kB / 440.5 MB, free: 13.96 MB / 350.1 MB " [Timeout remaining time 651] (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 --stepSize=1.79641e-05 --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: 11.27203942835331] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 8.927320625633001 8.954518323 8.638053476 Calling exit ...