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.001327/0.001327, allocations: 118.6 kB / 18.5 MB, free: 4.602 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.001438/0.001438, allocations: 206.6 kB / 21.45 MB, free: 1.652 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.513/1.513, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.003098/0.003098, allocations: 63.84 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1187, allocations: 53.32 MB / 427 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002321/0.121, allocations: 0.9619 MB / 428 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003676/0.1214, allocations: 115.6 kB / 428.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.464e-05/0.1215, allocations: 4 kB / 428.1 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.933e-05/0.1215, allocations: 3.938 kB / 428.1 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.1216, allocations: 11.86 kB / 428.1 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.1219, allocations: 39.91 kB / 428.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.122, allocations: 43.84 kB / 428.2 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1221, allocations: 16.17 kB / 428.2 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.84e-05/0.1221, allocations: 15.94 kB / 428.2 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.873e-05/0.1222, allocations: 19.86 kB / 428.2 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.1222, allocations: 4 kB / 428.2 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.119e-05/0.1222, allocations: 4 kB / 428.2 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.691e-05/0.1223, allocations: 23.91 kB / 428.3 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.144e-05/0.1223, allocations: 19.81 kB / 428.3 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.1225, allocations: 55.73 kB / 428.3 MB, free: 3.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.1225, allocations: 4 kB / 428.3 MB, free: 3.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1225, allocations: 0 / 428.3 MB, free: 3.469 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.1225, allocations: 0 / 428.3 MB, free: 3.469 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004811/0.1229, allocations: 389.5 kB / 428.7 MB, free: 3.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.123, allocations: 8.031 kB / 428.7 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.869e-05/0.123, allocations: 42.67 kB / 428.8 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.1231, allocations: 8.891 kB / 428.8 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.1233, allocations: 184.3 kB / 429 MB, free: 2.758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.1233, allocations: 12.38 kB / 429 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.1234, allocations: 8.359 kB / 429 MB, free: 2.738 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.1236, allocations: 131.5 kB / 429.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1236, allocations: 0 / 429.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.1236, allocations: 3.938 kB / 429.1 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.1237, allocations: 4 kB / 429.1 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.244e-05/0.1237, allocations: 16 kB / 429.1 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001824/0.1239, allocations: 181.5 kB / 429.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.124, allocations: 58.66 kB / 429.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.355e-05/0.1241, allocations: 32.89 kB / 429.4 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.1241, allocations: 4 kB / 429.4 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.1241, allocations: 46.44 kB / 429.4 MB, free: 2.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.1241, allocations: 0 / 429.4 MB, free: 2.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002034/0.1243, allocations: 85.78 kB / 429.5 MB, free: 2.098 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.831e-05/0.1244, allocations: 55.41 kB / 429.6 MB, free: 2.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.1245, allocations: 139.8 kB / 429.7 MB, free: 1.887 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.1246, allocations: 25.7 kB / 429.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.256e-05/0.1246, allocations: 84.14 kB / 429.8 MB, free: 1.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.1246, allocations: 11.94 kB / 429.8 MB, free: 1.758 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.1247, allocations: 21.72 kB / 429.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1248, allocations: 322.8 kB / 430.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.818e-05/0.1249, allocations: 4 kB / 430.2 MB, free: 1.402 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.424e-05/0.1249, allocations: 58.86 kB / 430.2 MB, free: 1.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.999e-05/0.125, allocations: 74.75 kB / 430.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.125, allocations: 4 kB / 430.3 MB, free: 1.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001426/0.1252, allocations: 97.38 kB / 430.4 MB, free: 1.117 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1252, allocations: 8 kB / 430.4 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.1252, allocations: 0 / 430.4 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1252, allocations: 4 kB / 430.4 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.555e-05/0.1253, allocations: 12 kB / 430.4 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.1253, allocations: 7.984 kB / 430.4 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.448e-05/0.1253, allocations: 8.203 kB / 430.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.1253, allocations: 8 kB / 430.5 MB, free: 1.07 MB / 350.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.0001002/0.1254, allocations: 121.8 kB / 430.6 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.1255, allocations: 73.89 kB / 430.6 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.005e-05/0.1256, allocations: 12.72 kB / 430.7 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1256, allocations: 0 / 430.7 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1256, allocations: 0 / 430.7 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.1256, allocations: 4 kB / 430.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.1257, allocations: 173.6 kB / 430.8 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1257, allocations: 3.938 kB / 430.8 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.289e-05/0.1258, allocations: 23.94 kB / 430.9 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1258, allocations: 3.984 kB / 430.9 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.1258, allocations: 3.938 kB / 430.9 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1258, allocations: 0 / 430.9 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1258, allocations: 0 / 430.9 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.1259, allocations: 105.1 kB / 431 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.532e-05/0.126, allocations: 97.17 kB / 431.1 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.1261, allocations: 4 kB / 431.1 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.722e-05/0.1261, allocations: 7.938 kB / 431.1 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-06/0.1261, allocations: 0 / 431.1 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.1261, allocations: 4 kB / 431.1 MB, free: 348 kB / 350.1 MB Notification: Performance of sorting global known variables: time 7.609e-05/0.1262, allocations: 109.9 kB / 431.2 MB, free: 240 kB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1262, allocations: 0 / 431.2 MB, free: 240 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001976/0.1264, allocations: 4 kB / 431.2 MB, free: 236 kB / 350.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.0005595/0.1269, allocations: 0.667 MB / 431.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001222/0.127, allocations: 39.92 kB / 431.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.127, allocations: 0 / 431.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.127, allocations: 0 / 431.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.1273, allocations: 46.88 kB / 431.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.1287, allocations: 1.339 MB / 433.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.129, allocations: 0.7002 MB / 434 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.631e-05/0.1291, allocations: 4 kB / 434 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.762e-05/0.1291, allocations: 15.42 kB / 434 MB, free: 13.24 MB / 366.1 MB Notification: Performance of SimCode: time 6.72e-07/0.1291, allocations: 4 kB / 434 MB, free: 13.24 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02838/0.1575, allocations: 1.762 MB / 435.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.896/8.054, allocations: 4 kB / 435.8 MB, free: 11.61 MB / 366.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79641e-05 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: 10.776170696597546] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 8.12274153996259 8.32200534 8.010384857 Calling exit ...