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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00194/0.001941, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00264/0.00264, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.689/2.689, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 59.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4476/0.4498, allocations: 50.54 MB / 409.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.004023/0.4539, allocations: 0.9463 MB / 410.9 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005592/0.4546, allocations: 119.6 kB / 411 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.962e-05/0.4547, allocations: 4 kB / 411 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.152e-05/0.4548, allocations: 3.938 kB / 411 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.455, allocations: 7.938 kB / 411 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00036/0.4553, allocations: 43.89 kB / 411.1 MB, free: 476 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.4555, allocations: 39.86 kB / 411.1 MB, free: 436 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.4557, allocations: 16.17 kB / 411.1 MB, free: 416 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.832e-05/0.4558, allocations: 19.86 kB / 411.1 MB, free: 396 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.711e-05/0.4558, allocations: 23.86 kB / 411.2 MB, free: 372 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.4559, allocations: 4 kB / 411.2 MB, free: 368 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.664e-05/0.4559, allocations: 8 kB / 411.2 MB, free: 360 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.448e-05/0.456, allocations: 11.94 kB / 411.2 MB, free: 348 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.011e-05/0.4561, allocations: 31.78 kB / 411.2 MB, free: 316 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.4562, allocations: 51.77 kB / 411.3 MB, free: 264 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4562, allocations: 0 / 411.3 MB, free: 264 kB / 318.1 MB Notification: Performance of FrontEnd: time 4.058e-06/0.4563, allocations: 3.984 kB / 411.3 MB, free: 260 kB / 318.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.4563, allocations: 0 / 411.3 MB, free: 260 kB / 318.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.000632/0.4569, allocations: 368.3 kB / 411.6 MB, free: 15.85 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.457, allocations: 8.031 kB / 411.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.4571, allocations: 16.84 kB / 411.6 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004084/0.4575, allocations: 200 kB / 411.8 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.4575, allocations: 4.375 kB / 411.8 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.4575, allocations: 4.375 kB / 411.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004237/0.458, allocations: 127.8 kB / 412 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.458, allocations: 3.938 kB / 412 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.458, allocations: 4 kB / 412 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.4581, allocations: 0 / 412 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.277e-05/0.4581, allocations: 19.94 kB / 412 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002441/0.4584, allocations: 169.6 kB / 412.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.4586, allocations: 62.72 kB / 412.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.4588, allocations: 36.89 kB / 412.3 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.4588, allocations: 4 kB / 412.3 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.4588, allocations: 38.5 kB / 412.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.518e-05/0.4589, allocations: 0 / 412.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003122/0.4592, allocations: 97.61 kB / 412.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.468e-05/0.4593, allocations: 51.41 kB / 412.5 MB, free: 14.88 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.4595, allocations: 140.6 kB / 412.6 MB, free: 14.74 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.4596, allocations: 25.7 kB / 412.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.885e-05/0.4596, allocations: 92.14 kB / 412.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.4597, allocations: 11.84 kB / 412.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.29e-05/0.4598, allocations: 25.7 kB / 412.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.46, allocations: 314.8 kB / 413 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.491e-05/0.46, allocations: 4 kB / 413.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.946e-05/0.4601, allocations: 70.8 kB / 413.1 MB, free: 14.15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.4603, allocations: 74.73 kB / 413.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.4603, allocations: 0 / 413.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002254/0.4606, allocations: 81.47 kB / 413.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.4606, allocations: 11.94 kB / 413.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.4606, allocations: 320 / 413.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.4607, allocations: 4.25 kB / 413.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.4608, allocations: 27.91 kB / 413.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.4608, allocations: 4 kB / 413.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.9e-05/0.4609, allocations: 11.94 kB / 413.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.4609, allocations: 7.984 kB / 413.3 MB, free: 13.9 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (9): * Single equations (assignments): 9 * 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 0.0001879/0.4611, allocations: 117.8 kB / 413.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.4613, allocations: 81.47 kB / 413.5 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.007e-05/0.4614, allocations: 8.719 kB / 413.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.4614, allocations: 0 / 413.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.4614, allocations: 8 kB / 413.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.4614, allocations: 3.984 kB / 413.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.4616, allocations: 169.7 kB / 413.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4617, allocations: 0 / 413.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.4618, allocations: 19.98 kB / 413.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.4618, allocations: 3.938 kB / 413.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.4618, allocations: 0 / 413.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.4619, allocations: 0 / 413.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4619, allocations: 0 / 413.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.4621, allocations: 109 kB / 413.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.4622, allocations: 97.06 kB / 413.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.4623, allocations: 4 kB / 414 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.18e-05/0.4623, allocations: 3.938 kB / 414 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.959e-06/0.4624, allocations: 0 / 414 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.4624, allocations: 4 kB / 414 MB, free: 13.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001235/0.4625, allocations: 110.4 kB / 414.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4625, allocations: 0 / 414.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004073/0.4629, allocations: 4 kB / 414.1 MB, free: 13.07 MB / 334.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 0.0001648/0.4631, allocations: 103.2 kB / 414.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002055/0.4634, allocations: 51.84 kB / 414.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4634, allocations: 0 / 414.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.4634, allocations: 0 / 414.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005017/0.4639, allocations: 38.25 kB / 414.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000543/0.4645, allocations: 199.8 kB / 414.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.4649, allocations: 0.7002 MB / 415.2 MB, free: 11.92 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.3e-05/0.465, allocations: 11.44 kB / 415.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of SimCode: time 7.91e-07/0.465, allocations: 0 / 415.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of Templates: time 0.003958/0.469, allocations: 0.8278 MB / 416 MB, free: 11.08 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches