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.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.001762/0.001762, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.00218/0.00218, allocations: 212 kB / 24.54 MB, free: 4.016 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.427/1.427, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.IntegerSignals.AssignClock,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.00194/0.00194, allocations: 68.77 kB / 378.5 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2754, allocations: 53.37 MB / 431.9 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002484/0.2779, allocations: 0.8503 MB / 432.8 MB, free: 6.148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004503/0.2783, allocations: 131.5 kB / 432.9 MB, free: 6.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.2784, allocations: 0 / 432.9 MB, free: 6.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.2786, allocations: 11.81 kB / 432.9 MB, free: 6.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002571/0.2788, allocations: 11.92 kB / 432.9 MB, free: 5.996 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.2791, allocations: 39.91 kB / 433 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.2792, allocations: 39.91 kB / 433 MB, free: 5.918 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.2794, allocations: 15.92 kB / 433 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.947e-05/0.2794, allocations: 15.94 kB / 433 MB, free: 5.887 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.839e-05/0.2795, allocations: 23.92 kB / 433.1 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.2795, allocations: 0 / 433.1 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.491e-05/0.2795, allocations: 4 kB / 433.1 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.791e-05/0.2796, allocations: 27.91 kB / 433.1 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.497e-05/0.2797, allocations: 31.73 kB / 433.1 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.2798, allocations: 60.52 kB / 433.2 MB, free: 5.746 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2798, allocations: 0 / 433.2 MB, free: 5.746 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2798, allocations: 0 / 433.2 MB, free: 5.746 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.2798, allocations: 0 / 433.2 MB, free: 5.746 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.0005354/0.2804, allocations: 302 kB / 433.5 MB, free: 5.418 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.2804, allocations: 8.031 kB / 433.5 MB, free: 5.41 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.106e-05/0.2805, allocations: 46.72 kB / 433.5 MB, free: 5.355 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.2805, allocations: 12.84 kB / 433.5 MB, free: 5.344 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.2807, allocations: 134.4 kB / 433.7 MB, free: 5.188 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.2807, allocations: 4.375 kB / 433.7 MB, free: 5.184 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.2807, allocations: 4.375 kB / 433.7 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003315/0.2811, allocations: 147.6 kB / 433.8 MB, free: 5.023 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.2811, allocations: 7.938 kB / 433.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.2811, allocations: 4 kB / 433.8 MB, free: 5.012 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2811, allocations: 0 / 433.8 MB, free: 5.012 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.595e-05/0.2812, allocations: 23.98 kB / 433.9 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001866/0.2813, allocations: 144.7 kB / 434 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.2815, allocations: 74.69 kB / 434.1 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.315e-05/0.2816, allocations: 37 kB / 434.1 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.2816, allocations: 7.984 kB / 434.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.2816, allocations: 34.56 kB / 434.1 MB, free: 4.633 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.2816, allocations: 0 / 434.1 MB, free: 4.633 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002407/0.2819, allocations: 97.56 kB / 434.2 MB, free: 4.531 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/0.2819, allocations: 63.66 kB / 434.3 MB, free: 4.457 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.2821, allocations: 137.8 kB / 434.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.2821, allocations: 29.7 kB / 434.5 MB, free: 4.277 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/0.2821, allocations: 88.14 kB / 434.6 MB, free: 4.188 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.2822, allocations: 11.94 kB / 434.6 MB, free: 4.176 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/0.2822, allocations: 25.66 kB / 434.6 MB, free: 4.145 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.2824, allocations: 322.8 kB / 434.9 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.307e-05/0.2824, allocations: 8 kB / 434.9 MB, free: 3.812 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.564e-05/0.2825, allocations: 66.8 kB / 435 MB, free: 3.723 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.791e-05/0.2826, allocations: 70.75 kB / 435 MB, free: 3.629 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.2826, allocations: 4 kB / 435.1 MB, free: 3.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001385/0.2827, allocations: 93.44 kB / 435.1 MB, free: 3.527 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.2827, allocations: 15.06 kB / 435.2 MB, free: 3.516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.2827, allocations: 4 kB / 435.2 MB, free: 3.512 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.2828, allocations: 4 kB / 435.2 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.131e-05/0.2828, allocations: 16.25 kB / 435.2 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.2829, allocations: 11.97 kB / 435.2 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.05e-05/0.2829, allocations: 7.875 kB / 435.2 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.2829, allocations: 8 kB / 435.2 MB, free: 3.465 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: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * 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.0001366/0.2831, allocations: 121.8 kB / 435.3 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.2832, allocations: 85.56 kB / 435.4 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.35e-05/0.2832, allocations: 12.72 kB / 435.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2832, allocations: 0 / 435.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2832, allocations: 4 kB / 435.4 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2832, allocations: 0 / 435.4 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.2834, allocations: 148.7 kB / 435.6 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2834, allocations: 0 / 435.6 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.924e-05/0.2834, allocations: 15.94 kB / 435.6 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.2834, allocations: 3.938 kB / 435.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.2835, allocations: 0 / 435.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.2835, allocations: 3.984 kB / 435.6 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2835, allocations: 0 / 435.6 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.2836, allocations: 113.1 kB / 435.7 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.588e-05/0.2837, allocations: 23.81 kB / 435.7 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.2837, allocations: 4 kB / 435.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.1e-05/0.2837, allocations: 4 kB / 435.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.534e-06/0.2837, allocations: 0 / 435.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.2837, allocations: 3.938 kB / 435.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.171e-05/0.2838, allocations: 111.2 kB / 435.9 MB, free: 2.742 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2838, allocations: 0 / 435.9 MB, free: 2.742 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002234/0.284, allocations: 8 kB / 435.9 MB, free: 2.734 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * 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.0006185/0.2846, allocations: 0.6828 MB / 436.5 MB, free: 2.023 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001525/0.2848, allocations: 51.78 kB / 436.6 MB, free: 1.973 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2848, allocations: 0.5625 kB / 436.6 MB, free: 1.973 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.2848, allocations: 0 / 436.6 MB, free: 1.973 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.2851, allocations: 53.25 kB / 436.6 MB, free: 1.922 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.2866, allocations: 1.363 MB / 438 MB, free: 444 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.287, allocations: 0.6963 MB / 438.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.503e-05/0.287, allocations: 8.672 kB / 438.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/0.2871, allocations: 23.38 kB / 438.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2871, allocations: 0 / 438.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.3124, allocations: 1.861 MB / 440.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.061/8.373, allocations: 11 kB / 440.6 MB, free: 13.91 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_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_IntegerSignals_AssignClock.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.657147821038961] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 8.441300352104008 8.4563085 8.173422712 Calling exit ...