Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.001379/0.001379, allocations: 85.94 kB / 20.68 MB, free: 1.035 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.002123/0.002123, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.55/1.55, allocations: 177 MB / 204.1 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.226e-05, allocations: 2.281 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.001938/0.00196, allocations: 0.957 MB / 326 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003528/0.002313, allocations: 118.9 kB / 326.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.96e-05/0.002383, allocations: 1.25 kB / 326.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.503e-05/0.002428, allocations: 8.812 kB / 326.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.002552, allocations: 11.8 kB / 326.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.002766, allocations: 33.72 kB / 326.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000109/0.002875, allocations: 41.55 kB / 326.2 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.657e-05/0.002972, allocations: 17.12 kB / 326.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.478e-05/0.003026, allocations: 25.39 kB / 326.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.933e-05/0.003066, allocations: 11.64 kB / 326.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.003089, allocations: 6.625 kB / 326.3 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.207e-05/0.003101, allocations: 3.406 kB / 326.3 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.619e-05/0.003147, allocations: 18.66 kB / 326.3 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.003182, allocations: 14.34 kB / 326.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.003308, allocations: 54.48 kB / 326.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.00331, allocations: 1.094 kB / 326.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.21e-07/0.00331, allocations: 0 / 326.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.003318, allocations: 0 / 326.3 MB, free: 15.71 MB / 302.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.0004547/0.003773, allocations: 296.9 kB / 326.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.003807, allocations: 16.77 kB / 326.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.202e-05/0.003839, allocations: 13.95 kB / 326.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.004069, allocations: 143.3 kB / 326.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.004083, allocations: 5.656 kB / 326.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.004099, allocations: 3.75 kB / 326.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.004365, allocations: 126.2 kB / 326.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.004374, allocations: 1.375 kB / 326.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.004385, allocations: 9.406 kB / 326.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.004393, allocations: 5.312 kB / 326.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.078e-05/0.004433, allocations: 14.31 kB / 327 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001319/0.004565, allocations: 117.6 kB / 327.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.00471, allocations: 70.56 kB / 327.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.193e-05/0.004772, allocations: 32.12 kB / 327.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.004785, allocations: 1.125 kB / 327.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.004813, allocations: 31.78 kB / 327.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.004814, allocations: 1.219 kB / 327.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001826/0.004997, allocations: 96.81 kB / 327.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.005049, allocations: 61.53 kB / 327.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.005178, allocations: 140.5 kB / 327.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.005194, allocations: 26.61 kB / 327.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/0.005246, allocations: 86.95 kB / 327.6 MB, free: 14.56 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.398e-06/0.005255, allocations: 1.766 kB / 327.6 MB, free: 14.56 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.005289, allocations: 17.83 kB / 327.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.00543, allocations: 318 kB / 327.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.087e-05/0.005441, allocations: 2.219 kB / 327.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.578e-06/0.00545, allocations: 6.781 kB / 328 MB, free: 14.22 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.251e-05/0.005473, allocations: 9.266 kB / 328 MB, free: 14.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.005474, allocations: 4.062 kB / 328 MB, free: 14.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.573e-05/0.00554, allocations: 47.47 kB / 328 MB, free: 14.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.005553, allocations: 5.875 kB / 328 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.005557, allocations: 0.6094 kB / 328 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.00557, allocations: 0 / 328 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.115e-05/0.005611, allocations: 3.734 kB / 328 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.005618, allocations: 5.062 kB / 328 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.368e-05/0.005632, allocations: 0.6562 kB / 328 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-06/0.005636, allocations: 0.9688 kB / 328 MB, free: 14.16 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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 9.143e-05/0.005727, allocations: 121.2 kB / 328.1 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.005832, allocations: 74.39 kB / 328.2 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.31e-05/0.005865, allocations: 12.19 kB / 328.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.005868, allocations: 1.703 kB / 328.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.005874, allocations: 3.938 kB / 328.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.005877, allocations: 1.906 kB / 328.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.4e-05/0.005971, allocations: 123.7 kB / 328.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.005972, allocations: 0 / 328.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.38e-05/0.006026, allocations: 10.91 kB / 328.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.006028, allocations: 2.297 kB / 328.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.006034, allocations: 0 / 328.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.006037, allocations: 5.703 kB / 328.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.006038, allocations: 0 / 328.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.006174, allocations: 107.1 kB / 328.5 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.161e-05/0.006216, allocations: 21.11 kB / 328.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.006234, allocations: 5.844 kB / 328.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.204e-05/0.006256, allocations: 4 kB / 328.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.014e-06/0.006258, allocations: 1.438 kB / 328.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.006263, allocations: 2 kB / 328.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.758e-05/0.00634, allocations: 112.1 kB / 328.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.00634, allocations: 0 / 328.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001852/0.006525, allocations: 5.312 kB / 328.6 MB, free: 13.64 MB / 302.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: 0 () * 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.921e-05/0.006625, allocations: 98.33 kB / 328.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.315e-05/0.006718, allocations: 27.58 kB / 328.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.006719, allocations: 0 / 328.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.00672, allocations: 0 / 328.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.007, allocations: 48.17 kB / 328.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002908/0.007291, allocations: 160.3 kB / 329 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.136e-05/0.007382, allocations: 90.52 kB / 329 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.396e-05/0.007396, allocations: 5.984 kB / 329.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.471e-05/0.007421, allocations: 11.69 kB / 329.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.007421, allocations: 0 / 329.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of Templates: time 0.003048/0.01047, allocations: 0.6099 MB / 329.7 MB, free: 13.19 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.403985518962145]