Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008549/0.0008549, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001022/0.001877, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000712/0.000712, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008517/0.001564, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.004/1.004, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1004/1.104, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.046e-06/3.046e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.772e-05/3.077e-05, allocations: 6.312 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002186/0.002217, allocations: 0.9234 MB / 245.4 MB, free: 13.4 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003013/0.002518, allocations: 128.3 kB / 245.6 MB, free: 13.27 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.574e-05/0.002604, allocations: 3.938 kB / 245.6 MB, free: 13.27 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.668e-05/0.00267, allocations: 11.88 kB / 245.6 MB, free: 13.26 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.422e-05/0.002755, allocations: 15.84 kB / 245.6 MB, free: 13.24 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.003044, allocations: 35.89 kB / 245.6 MB, free: 13.21 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.003177, allocations: 39.86 kB / 245.7 MB, free: 13.17 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.003293, allocations: 23.98 kB / 245.7 MB, free: 13.14 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.625e-05/0.003359, allocations: 27.92 kB / 245.7 MB, free: 13.12 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.57e-05/0.003445, allocations: 23.91 kB / 245.7 MB, free: 13.09 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.003472, allocations: 4 kB / 245.7 MB, free: 13.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.231e-05/0.003484, allocations: 4 kB / 245.8 MB, free: 13.09 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.959e-05/0.003524, allocations: 15.92 kB / 245.8 MB, free: 13.07 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.557e-05/0.00356, allocations: 11.94 kB / 245.8 MB, free: 13.06 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.003672, allocations: 35.84 kB / 245.8 MB, free: 13.02 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.69e-05/0.003689, allocations: 4 kB / 245.8 MB, free: 13.02 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.00369, allocations: 0 / 245.8 MB, free: 13.02 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.003705, allocations: 0 / 245.8 MB, free: 13.02 MB / 250.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.0004403/0.004146, allocations: 296.2 kB / 246.1 MB, free: 12.7 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.004185, allocations: 8.031 kB / 246.1 MB, free: 12.7 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.004219, allocations: 12.88 kB / 246.1 MB, free: 12.68 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.004407, allocations: 140.6 kB / 246.3 MB, free: 12.52 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.004418, allocations: 4.375 kB / 246.3 MB, free: 12.52 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.004427, allocations: 384 / 246.3 MB, free: 12.52 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.004641, allocations: 114.6 kB / 246.4 MB, free: 12.39 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.00465, allocations: 192 / 246.4 MB, free: 12.39 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.004658, allocations: 384 / 246.4 MB, free: 12.39 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.004666, allocations: 4.375 kB / 246.4 MB, free: 12.39 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.956e-05/0.004696, allocations: 14.7 kB / 246.4 MB, free: 12.38 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.939e-05/0.004785, allocations: 71.77 kB / 246.5 MB, free: 12.29 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.004905, allocations: 48.2 kB / 246.5 MB, free: 12.23 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.082e-05/0.004946, allocations: 25 kB / 246.5 MB, free: 12.2 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.004956, allocations: 7.984 kB / 246.6 MB, free: 12.2 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.004982, allocations: 34.5 kB / 246.6 MB, free: 12.15 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.004983, allocations: 4 kB / 246.6 MB, free: 12.15 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001288/0.005112, allocations: 57.91 kB / 246.6 MB, free: 12.09 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.005167, allocations: 63.47 kB / 246.7 MB, free: 12.01 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.259e-05/0.00526, allocations: 130.7 kB / 246.8 MB, free: 11.87 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.005272, allocations: 29.7 kB / 246.9 MB, free: 11.84 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.21e-05/0.005304, allocations: 88.12 kB / 246.9 MB, free: 11.75 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.155e-05/0.005315, allocations: 0 / 246.9 MB, free: 11.75 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.005353, allocations: 21.66 kB / 247 MB, free: 11.72 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.744e-05/0.005451, allocations: 322.8 kB / 247.3 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.334e-06/0.005458, allocations: 0 / 247.3 MB, free: 11.39 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.101e-06/0.005464, allocations: 3.938 kB / 247.3 MB, free: 11.39 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.391e-05/0.005488, allocations: 12.94 kB / 247.3 MB, free: 11.38 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.00549, allocations: 0 / 247.3 MB, free: 11.38 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.033e-05/0.005551, allocations: 41.69 kB / 247.3 MB, free: 11.33 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.005564, allocations: 4 kB / 247.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.005568, allocations: 0 / 247.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.005582, allocations: 4 kB / 247.4 MB, free: 11.32 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.163e-05/0.005634, allocations: 0 / 247.4 MB, free: 11.32 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.005639, allocations: 4 kB / 247.4 MB, free: 11.32 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.466e-05/0.005653, allocations: 0 / 247.4 MB, free: 11.32 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.005658, allocations: 4.031 kB / 247.4 MB, free: 11.31 MB / 250.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 8.045e-05/0.005738, allocations: 124.5 kB / 247.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.867e-05/0.005807, allocations: 53.62 kB / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.997e-05/0.005847, allocations: 16.77 kB / 247.5 MB, free: 11.1 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.00585, allocations: 0 / 247.5 MB, free: 11.1 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.005852, allocations: 0 / 247.5 MB, free: 11.1 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.005857, allocations: 3.984 kB / 247.6 MB, free: 11.1 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.619e-05/0.005933, allocations: 77.83 kB / 247.6 MB, free: 11 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.005934, allocations: 0 / 247.6 MB, free: 11 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.8e-05/0.006002, allocations: 15.98 kB / 247.6 MB, free: 10.99 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.082e-05/0.006043, allocations: 15.95 kB / 247.7 MB, free: 10.97 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.006045, allocations: 0 / 247.7 MB, free: 10.97 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.006053, allocations: 3.984 kB / 247.7 MB, free: 10.97 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.006055, allocations: 0 / 247.7 MB, free: 10.97 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.006057, allocations: 3.938 kB / 247.7 MB, free: 10.96 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.317e-05/0.00611, allocations: 67.91 kB / 247.7 MB, free: 10.88 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.00613, allocations: 0 / 247.7 MB, free: 10.88 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.629e-05/0.006146, allocations: 0 / 247.7 MB, free: 10.88 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-06/0.006149, allocations: 0 / 247.7 MB, free: 10.88 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.006155, allocations: 4 kB / 247.7 MB, free: 10.88 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.841e-05/0.006193, allocations: 36.09 kB / 247.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.006193, allocations: 4 kB / 247.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001516/0.006345, allocations: 4 kB / 247.8 MB, free: 10.83 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 9.922e-05/0.006444, allocations: 83.94 kB / 247.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.771e-05/0.006522, allocations: 24.78 kB / 247.9 MB, free: 10.72 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.006528, allocations: 4 kB / 247.9 MB, free: 10.71 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4e-07/0.006528, allocations: 0 / 247.9 MB, free: 10.71 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.006721, allocations: 40.06 kB / 247.9 MB, free: 10.68 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002474/0.006969, allocations: 169.5 kB / 248.1 MB, free: 10.48 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.981e-05/0.007008, allocations: 71.39 kB / 248.2 MB, free: 10.39 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.723e-05/0.007026, allocations: 4 kB / 248.2 MB, free: 10.39 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.865e-05/0.007084, allocations: 59.31 kB / 248.2 MB, free: 10.33 MB / 250.7 MB Notification: Performance of SimCode: time 5.41e-07/0.007085, allocations: 0 / 248.2 MB, free: 10.33 MB / 250.7 MB Notification: Performance of Templates: time 0.002748/0.009833, allocations: 0.752 MB / 249 MB, free: 9.59 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.4570429725572467]