Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001578/0.002699, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009754/0.0009754, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001303/0.002278, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9562/0.9562, allocations: 173.4 MB / 185.8 MB, free: 8.98 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08806/1.044, allocations: 52.49 MB / 238.3 MB, free: 4.426 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 239.5 MB, free: 3.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.822e-05/1.924e-05, allocations: 2.312 kB / 239.5 MB, free: 3.18 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002334/0.002353, allocations: 0.9231 MB / 240.5 MB, free: 2.262 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002827/0.002636, allocations: 129.1 kB / 240.6 MB, free: 2.137 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.787e-05/0.002694, allocations: 4 kB / 240.6 MB, free: 2.133 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.582e-05/0.002739, allocations: 7.875 kB / 240.6 MB, free: 2.125 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 5.996e-05/0.002799, allocations: 15.86 kB / 240.6 MB, free: 2.109 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001425/0.002942, allocations: 35.89 kB / 240.7 MB, free: 2.074 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.685e-05/0.003019, allocations: 39.86 kB / 240.7 MB, free: 2.035 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.603e-05/0.003085, allocations: 23.94 kB / 240.7 MB, free: 2.012 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.759e-05/0.003132, allocations: 31.91 kB / 240.7 MB, free: 1.98 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.404e-05/0.003176, allocations: 11.98 kB / 240.8 MB, free: 1.969 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.003194, allocations: 7.938 kB / 240.8 MB, free: 1.961 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.098e-06/0.003203, allocations: 4 kB / 240.8 MB, free: 1.957 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.693e-05/0.00323, allocations: 15.92 kB / 240.8 MB, free: 1.941 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.341e-05/0.003254, allocations: 8 kB / 240.8 MB, free: 1.934 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 9.104e-05/0.003345, allocations: 51.72 kB / 240.8 MB, free: 1.883 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.003353, allocations: 0 / 240.8 MB, free: 1.883 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003354, allocations: 0 / 240.8 MB, free: 1.883 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.003362, allocations: 0 / 240.8 MB, free: 1.883 MB / 234.7 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.0002922/0.003654, allocations: 284.3 kB / 241.1 MB, free: 1.578 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.003683, allocations: 16.03 kB / 241.1 MB, free: 1.562 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.194e-05/0.003705, allocations: 4.938 kB / 241.1 MB, free: 1.559 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.003863, allocations: 149.5 kB / 241.3 MB, free: 1.387 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.003871, allocations: 8.312 kB / 241.3 MB, free: 1.379 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.003881, allocations: 8.375 kB / 241.3 MB, free: 1.371 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.004041, allocations: 106.6 kB / 241.4 MB, free: 1.254 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.019e-06/0.004046, allocations: 192 / 241.4 MB, free: 1.254 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.004053, allocations: 12.38 kB / 241.4 MB, free: 1.242 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.004057, allocations: 384 / 241.4 MB, free: 1.242 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.184e-05/0.004079, allocations: 10.77 kB / 241.4 MB, free: 1.23 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.435e-05/0.004143, allocations: 71.73 kB / 241.5 MB, free: 1.145 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.339e-05/0.004237, allocations: 48.22 kB / 241.5 MB, free: 1.086 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.674e-05/0.004273, allocations: 28.98 kB / 241.6 MB, free: 1.055 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.189e-06/0.004278, allocations: 0 / 241.6 MB, free: 1.055 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.004299, allocations: 34.5 kB / 241.6 MB, free: 1.012 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 8.32e-07/0.0043, allocations: 0 / 241.6 MB, free: 1.012 MB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001027/0.004403, allocations: 77.59 kB / 241.7 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.004439, allocations: 51.41 kB / 241.7 MB, free: 0.8672 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.889e-05/0.004538, allocations: 141.1 kB / 241.9 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.004552, allocations: 25.7 kB / 241.9 MB, free: 0.6875 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.004587, allocations: 88.12 kB / 242 MB, free: 0.5977 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.153e-06/0.004594, allocations: 0 / 242 MB, free: 0.5977 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.004626, allocations: 17.7 kB / 242 MB, free: 0.5742 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.004733, allocations: 322.8 kB / 242.3 MB, free: 256 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.939e-06/0.004738, allocations: 0 / 242.3 MB, free: 256 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.262e-06/0.004744, allocations: 4 kB / 242.3 MB, free: 252 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.161e-05/0.004765, allocations: 8.922 kB / 242.3 MB, free: 240 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.004768, allocations: 4 kB / 242.3 MB, free: 236 kB / 234.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.091e-05/0.004819, allocations: 41.62 kB / 242.4 MB, free: 188 kB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.004832, allocations: 8 kB / 242.4 MB, free: 180 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.584e-06/0.004834, allocations: 0 / 242.4 MB, free: 180 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.441e-06/0.00484, allocations: 0 / 242.4 MB, free: 180 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.937e-05/0.004869, allocations: 4 kB / 242.4 MB, free: 176 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.083e-06/0.004871, allocations: 0 / 242.4 MB, free: 176 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.295e-05/0.004884, allocations: 0 / 242.4 MB, free: 176 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-06/0.004886, allocations: 0 / 242.4 MB, free: 176 kB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.unitDelay1.u,unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.206e-05/0.004958, allocations: 124.6 kB / 242.5 MB, free: 40 kB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.417e-05/0.005032, allocations: 45.69 kB / 242.6 MB, free: 15.99 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.529e-05/0.005068, allocations: 20.78 kB / 242.6 MB, free: 15.96 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.00507, allocations: 3.938 kB / 242.6 MB, free: 15.96 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.005071, allocations: 0 / 242.6 MB, free: 15.96 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.005078, allocations: 3.984 kB / 242.6 MB, free: 15.96 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.996e-05/0.005148, allocations: 77.78 kB / 242.7 MB, free: 15.86 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.00515, allocations: 3.938 kB / 242.7 MB, free: 15.86 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.757e-05/0.005207, allocations: 15.98 kB / 242.7 MB, free: 15.84 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.364e-05/0.005241, allocations: 15.95 kB / 242.7 MB, free: 15.83 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.005243, allocations: 0 / 242.7 MB, free: 15.83 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.005251, allocations: 11.98 kB / 242.7 MB, free: 15.82 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.005252, allocations: 0 / 242.7 MB, free: 15.82 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.005253, allocations: 0 / 242.7 MB, free: 15.82 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.146e-05/0.005304, allocations: 59.89 kB / 242.8 MB, free: 15.74 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.005318, allocations: 0 / 242.8 MB, free: 15.74 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.633e-05/0.005334, allocations: 8 kB / 242.8 MB, free: 15.73 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-06/0.005337, allocations: 3.938 kB / 242.8 MB, free: 15.73 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.00534, allocations: 0 / 242.8 MB, free: 15.73 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.396e-05/0.005374, allocations: 27.48 kB / 242.8 MB, free: 15.7 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.005374, allocations: 0 / 242.8 MB, free: 15.7 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001437/0.005518, allocations: 8 kB / 242.8 MB, free: 15.69 MB / 250.7 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 7.337e-05/0.005591, allocations: 84.42 kB / 242.9 MB, free: 15.6 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.235e-05/0.005644, allocations: 20.84 kB / 242.9 MB, free: 15.58 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.005647, allocations: 0 / 242.9 MB, free: 15.58 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.61e-07/0.005647, allocations: 0 / 242.9 MB, free: 15.58 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.005793, allocations: 45.25 kB / 243 MB, free: 15.53 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002157/0.006009, allocations: 165.5 kB / 243.1 MB, free: 15.34 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.942e-05/0.006048, allocations: 67.33 kB / 243.2 MB, free: 15.26 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.501e-05/0.006063, allocations: 12.05 kB / 243.2 MB, free: 15.25 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.201e-05/0.006115, allocations: 55.38 kB / 243.2 MB, free: 15.19 MB / 250.7 MB Notification: Performance of SimCode: time 5.01e-07/0.006116, allocations: 0 / 243.2 MB, free: 15.19 MB / 250.7 MB Notification: Performance of Templates: time 0.002089/0.008205, allocations: 0.7643 MB / 244 MB, free: 14.43 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.401588724926114]