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.0008484/0.0008484, allocations: 73.11 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00142/0.002268, allocations: 453.8 kB / 10.45 MB, free: 244 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.0007456/0.0007456, allocations: 157.2 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001007/0.001752, allocations: 479.5 kB / 11.82 MB, free: 2.34 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.139/1.139, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1132/1.252, allocations: 53.66 MB / 243.4 MB, free: 15.49 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 1.553e-06/1.553e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.058e-05, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002006/0.002026, allocations: 0.9389 MB / 245.6 MB, free: 13.29 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002414/0.002268, allocations: 128.2 kB / 245.8 MB, free: 13.16 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.304e-05/0.002341, allocations: 3.938 kB / 245.8 MB, free: 13.16 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.656e-05/0.002397, allocations: 7.938 kB / 245.8 MB, free: 13.15 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.186e-05/0.002469, allocations: 19.84 kB / 245.8 MB, free: 13.13 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.002632, allocations: 31.86 kB / 245.8 MB, free: 13.1 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.002745, allocations: 43.89 kB / 245.9 MB, free: 13.05 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.27e-05/0.002837, allocations: 11.94 kB / 245.9 MB, free: 13.04 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.65e-05/0.002904, allocations: 31.97 kB / 245.9 MB, free: 13.01 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.892e-05/0.002983, allocations: 23.91 kB / 245.9 MB, free: 12.99 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.003009, allocations: 4 kB / 245.9 MB, free: 12.98 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.271e-05/0.003022, allocations: 4 kB / 245.9 MB, free: 12.98 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.262e-05/0.003064, allocations: 15.94 kB / 246 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.988e-05/0.003094, allocations: 11.94 kB / 246 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.0032, allocations: 35.84 kB / 246 MB, free: 12.92 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.003211, allocations: 3.938 kB / 246 MB, free: 12.91 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.003212, allocations: 0 / 246 MB, free: 12.91 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.003222, allocations: 0 / 246 MB, free: 12.91 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.0004256/0.003647, allocations: 288.3 kB / 246.3 MB, free: 12.61 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.003686, allocations: 8.031 kB / 246.3 MB, free: 12.6 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.003735, allocations: 16.92 kB / 246.3 MB, free: 12.58 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.00391, allocations: 144.1 kB / 246.5 MB, free: 12.42 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.00392, allocations: 4.375 kB / 246.5 MB, free: 12.41 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.003934, allocations: 4.375 kB / 246.5 MB, free: 12.41 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.004093, allocations: 110.6 kB / 246.6 MB, free: 12.29 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.24e-06/0.004098, allocations: 192 / 246.6 MB, free: 12.29 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.004105, allocations: 4.375 kB / 246.6 MB, free: 12.29 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.004109, allocations: 4.375 kB / 246.6 MB, free: 12.28 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.799e-05/0.004127, allocations: 18.75 kB / 246.6 MB, free: 12.26 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.997e-05/0.004187, allocations: 63.77 kB / 246.7 MB, free: 12.18 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.00429, allocations: 60.19 kB / 246.7 MB, free: 12.11 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.35e-05/0.004313, allocations: 20.84 kB / 246.7 MB, free: 12.09 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.14e-06/0.004318, allocations: 0 / 246.7 MB, free: 12.09 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.004339, allocations: 42.5 kB / 246.8 MB, free: 12.04 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 6.51e-07/0.00434, allocations: 0 / 246.8 MB, free: 12.04 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 9.715e-05/0.004437, allocations: 58.06 kB / 246.8 MB, free: 11.98 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.004476, allocations: 63.47 kB / 246.9 MB, free: 11.9 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.477e-05/0.00454, allocations: 138.6 kB / 247 MB, free: 11.75 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.004549, allocations: 25.7 kB / 247.1 MB, free: 11.72 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.242e-05/0.004571, allocations: 88.12 kB / 247.1 MB, free: 11.63 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.448e-06/0.004581, allocations: 4 kB / 247.1 MB, free: 11.63 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.512e-05/0.004606, allocations: 21.67 kB / 247.2 MB, free: 11.6 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.021e-05/0.004686, allocations: 326.7 kB / 247.5 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.839e-06/0.004691, allocations: 4 kB / 247.5 MB, free: 11.27 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.12e-06/0.004696, allocations: 0 / 247.5 MB, free: 11.27 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.648e-05/0.004713, allocations: 12.8 kB / 247.5 MB, free: 11.25 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.004715, allocations: 64 / 247.5 MB, free: 11.25 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.973e-05/0.004755, allocations: 41.69 kB / 247.5 MB, free: 11.21 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.004764, allocations: 4 kB / 247.5 MB, free: 11.2 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.004768, allocations: 0 / 247.5 MB, free: 11.2 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.004777, allocations: 0 / 247.5 MB, free: 11.2 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.673e-05/0.004814, allocations: 4 kB / 247.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.004817, allocations: 0 / 247.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.707e-06/0.004825, allocations: 0 / 247.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-06/0.004829, allocations: 0 / 247.6 MB, free: 11.2 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 5.466e-05/0.004883, allocations: 116.6 kB / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.004919, allocations: 65.64 kB / 247.7 MB, free: 11 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.107e-05/0.00495, allocations: 8.781 kB / 247.7 MB, free: 11 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.004951, allocations: 0 / 247.7 MB, free: 11 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.004953, allocations: 4 kB / 247.7 MB, free: 10.99 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.004956, allocations: 0 / 247.7 MB, free: 10.99 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.172e-05/0.005007, allocations: 77.81 kB / 247.8 MB, free: 10.9 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-07/0.005008, allocations: 0 / 247.8 MB, free: 10.9 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.697e-05/0.005055, allocations: 15.98 kB / 247.8 MB, free: 10.88 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.497e-05/0.00508, allocations: 11.95 kB / 247.8 MB, free: 10.87 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.005081, allocations: 4 kB / 247.8 MB, free: 10.87 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.068e-06/0.005085, allocations: 0 / 247.8 MB, free: 10.87 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.005087, allocations: 8 kB / 247.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.005088, allocations: 0 / 247.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.834e-05/0.005136, allocations: 67.83 kB / 247.9 MB, free: 10.77 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.005152, allocations: 4 kB / 247.9 MB, free: 10.77 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.025e-06/0.00516, allocations: 0 / 247.9 MB, free: 10.77 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-06/0.005163, allocations: 0 / 247.9 MB, free: 10.77 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.005167, allocations: 0 / 247.9 MB, free: 10.77 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.186e-05/0.005189, allocations: 32.98 kB / 248 MB, free: 10.74 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005189, allocations: 4 kB / 248 MB, free: 10.73 MB / 250.7 MB Notification: Performance of remove unused functions: time 9.011e-05/0.005279, allocations: 8 kB / 248 MB, free: 10.73 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.748e-05/0.005356, allocations: 84.41 kB / 248.1 MB, free: 10.64 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.623e-05/0.005412, allocations: 16.86 kB / 248.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.005415, allocations: 3.938 kB / 248.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.874e-06/0.005417, allocations: 4 kB / 248.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.005599, allocations: 133.1 kB / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001865/0.005785, allocations: 165.5 kB / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.166e-05/0.005817, allocations: 67.34 kB / 248.4 MB, free: 10.19 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.264e-05/0.005829, allocations: 0 / 248.4 MB, free: 10.19 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.081e-05/0.00588, allocations: 63.47 kB / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of SimCode: time 1.012e-06/0.005881, allocations: 0 / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of Templates: time 0.002239/0.00812, allocations: 0.763 MB / 249.3 MB, free: 9.379 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.697296683676541]