Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001179/0.001179, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001559/0.002738, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007824/0.0007824, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001007/0.001789, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9818/0.9818, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08775/1.069, allocations: 53.86 MB / 243.7 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.524e-05, allocations: 2.312 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002235/0.00226, allocations: 0.9267 MB / 245.9 MB, free: 12.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002937/0.002554, allocations: 128.3 kB / 246.1 MB, free: 12.6 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.262e-05/0.002636, allocations: 3.938 kB / 246.1 MB, free: 12.6 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.629e-05/0.002703, allocations: 7.922 kB / 246.1 MB, free: 12.59 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.088e-05/0.002783, allocations: 19.88 kB / 246.1 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.002977, allocations: 35.89 kB / 246.1 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.003095, allocations: 39.86 kB / 246.2 MB, free: 12.5 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.003213, allocations: 19.98 kB / 246.2 MB, free: 12.48 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.432e-05/0.003287, allocations: 35.89 kB / 246.2 MB, free: 12.44 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.076e-05/0.003378, allocations: 15.92 kB / 246.2 MB, free: 12.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.003408, allocations: 0 / 246.2 MB, free: 12.43 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.33e-05/0.003421, allocations: 4 kB / 246.2 MB, free: 12.42 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.984e-05/0.003471, allocations: 15.94 kB / 246.3 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.751e-05/0.003508, allocations: 11.94 kB / 246.3 MB, free: 12.39 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.003635, allocations: 43.83 kB / 246.3 MB, free: 12.35 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.148e-05/0.003656, allocations: 4 kB / 246.3 MB, free: 12.35 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.003657, allocations: 0 / 246.3 MB, free: 12.35 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.256e-05/0.00368, allocations: 0 / 246.3 MB, free: 12.35 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.0005537/0.004233, allocations: 288.2 kB / 246.6 MB, free: 12.04 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.004273, allocations: 8.625 kB / 246.6 MB, free: 12.03 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.855e-05/0.004322, allocations: 16.86 kB / 246.6 MB, free: 12.02 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.004544, allocations: 137.7 kB / 246.8 MB, free: 11.86 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.004555, allocations: 384 / 246.8 MB, free: 11.86 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.004569, allocations: 8.375 kB / 246.8 MB, free: 11.85 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.004773, allocations: 110.6 kB / 246.9 MB, free: 11.73 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.004782, allocations: 192 / 246.9 MB, free: 11.73 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.004792, allocations: 4.375 kB / 246.9 MB, free: 11.72 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.004798, allocations: 384 / 246.9 MB, free: 11.72 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.047e-05/0.004829, allocations: 18.75 kB / 246.9 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.905e-05/0.004918, allocations: 75.73 kB / 247 MB, free: 11.61 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.00506, allocations: 52.2 kB / 247 MB, free: 11.55 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.333e-05/0.005103, allocations: 25 kB / 247 MB, free: 11.52 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/0.005111, allocations: 0 / 247 MB, free: 11.52 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.005142, allocations: 42.48 kB / 247.1 MB, free: 11.47 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.005143, allocations: 0 / 247.1 MB, free: 11.47 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001447/0.005288, allocations: 57.69 kB / 247.1 MB, free: 11.41 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.005344, allocations: 55.41 kB / 247.2 MB, free: 11.34 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.824e-05/0.005442, allocations: 134.7 kB / 247.3 MB, free: 11.2 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.005455, allocations: 25.7 kB / 247.4 MB, free: 11.17 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.304e-05/0.005488, allocations: 88.11 kB / 247.4 MB, free: 11.08 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.005503, allocations: 4 kB / 247.4 MB, free: 11.07 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.611e-05/0.005539, allocations: 17.67 kB / 247.5 MB, free: 11.05 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.344e-05/0.005632, allocations: 326.8 kB / 247.8 MB, free: 10.72 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.147e-05/0.005644, allocations: 4 kB / 247.8 MB, free: 10.72 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.053e-05/0.005654, allocations: 7.938 kB / 247.8 MB, free: 10.71 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.506e-05/0.005679, allocations: 8.859 kB / 247.8 MB, free: 10.7 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.005682, allocations: 0 / 247.8 MB, free: 10.7 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.667e-05/0.005748, allocations: 41.69 kB / 247.8 MB, free: 10.65 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.005763, allocations: 6.969 kB / 247.8 MB, free: 10.65 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.005769, allocations: 4 kB / 247.8 MB, free: 10.64 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.00578, allocations: 96 / 247.8 MB, free: 10.64 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.08e-05/0.005831, allocations: 11.94 kB / 247.9 MB, free: 10.63 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.005834, allocations: 0 / 247.9 MB, free: 10.63 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.438e-05/0.005848, allocations: 0 / 247.9 MB, free: 10.63 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.005854, allocations: 4 kB / 247.9 MB, free: 10.63 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 7.636e-05/0.00593, allocations: 116.5 kB / 248 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.576e-05/0.005996, allocations: 57.66 kB / 248 MB, free: 10.44 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.804e-05/0.006034, allocations: 12.78 kB / 248 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.006037, allocations: 4 kB / 248.1 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.006038, allocations: 0 / 248.1 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.006042, allocations: 0 / 248.1 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.385e-05/0.006116, allocations: 77.83 kB / 248.1 MB, free: 10.33 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.006117, allocations: 0 / 248.1 MB, free: 10.33 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.447e-05/0.006182, allocations: 12 kB / 248.1 MB, free: 10.32 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.8e-05/0.00622, allocations: 19.94 kB / 248.2 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.006222, allocations: 0 / 248.2 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.86e-06/0.006227, allocations: 0 / 248.2 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.006229, allocations: 0 / 248.2 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.006231, allocations: 0 / 248.2 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.607e-05/0.006287, allocations: 71.81 kB / 248.2 MB, free: 10.21 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.006305, allocations: 0 / 248.2 MB, free: 10.21 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.7e-05/0.006322, allocations: 4 kB / 248.2 MB, free: 10.21 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-06/0.006324, allocations: 4 kB / 248.2 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.00633, allocations: 0 / 248.2 MB, free: 10.2 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.154e-05/0.006361, allocations: 24.84 kB / 248.3 MB, free: 10.18 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006362, allocations: 0 / 248.3 MB, free: 10.18 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001604/0.006522, allocations: 4 kB / 248.3 MB, free: 10.17 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 0.0001102/0.006632, allocations: 80.42 kB / 248.3 MB, free: 10.09 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.899e-05/0.006711, allocations: 28.77 kB / 248.4 MB, free: 10.05 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.006715, allocations: 0 / 248.4 MB, free: 10.05 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.4e-07/0.006715, allocations: 4.062 kB / 248.4 MB, free: 10.05 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.006928, allocations: 44.41 kB / 248.4 MB, free: 10.01 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002703/0.007198, allocations: 169.4 kB / 248.6 MB, free: 9.816 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.293e-05/0.007241, allocations: 63.34 kB / 248.6 MB, free: 9.734 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.76e-05/0.007258, allocations: 4 kB / 248.6 MB, free: 9.73 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.238e-05/0.007321, allocations: 59.36 kB / 248.7 MB, free: 9.672 MB / 250.7 MB Notification: Performance of SimCode: time 1.082e-06/0.007322, allocations: 3.938 kB / 248.7 MB, free: 9.668 MB / 250.7 MB Notification: Performance of Templates: time 0.003171/0.01049, allocations: 0.766 MB / 249.5 MB, free: 8.914 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.448378698900342]