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.001877/0.001877, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002754/0.002754, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.687/1.687, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 63.89 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3885, allocations: 50.54 MB / 409.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.00246/0.3911, allocations: 0.9408 MB / 410.2 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005392/0.3916, allocations: 119.6 kB / 410.3 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.3918, allocations: 0 / 410.3 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.884e-05/0.3919, allocations: 11.92 kB / 410.3 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000163/0.3921, allocations: 11.88 kB / 410.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.3924, allocations: 43.27 kB / 410.4 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.3925, allocations: 39.86 kB / 410.4 MB, free: 468 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.3927, allocations: 20.17 kB / 410.4 MB, free: 444 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.532e-05/0.3927, allocations: 15.92 kB / 410.4 MB, free: 428 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.487e-05/0.3928, allocations: 19.88 kB / 410.5 MB, free: 408 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.3928, allocations: 8 kB / 410.5 MB, free: 400 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.587e-05/0.3928, allocations: 4 kB / 410.5 MB, free: 396 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.238e-05/0.3929, allocations: 15.92 kB / 410.5 MB, free: 380 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.476e-05/0.393, allocations: 27.8 kB / 410.5 MB, free: 352 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.3931, allocations: 55.69 kB / 410.6 MB, free: 296 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.3931, allocations: 0 / 410.6 MB, free: 296 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3931, allocations: 0 / 410.6 MB, free: 296 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.3931, allocations: 4 kB / 410.6 MB, free: 292 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.0005406/0.3937, allocations: 372.3 kB / 410.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.3937, allocations: 12.03 kB / 411 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.3938, allocations: 8.844 kB / 411 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.3941, allocations: 202.7 kB / 411.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.3941, allocations: 4.375 kB / 411.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.3941, allocations: 4.359 kB / 411.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/0.3944, allocations: 131.8 kB / 411.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3944, allocations: 3.938 kB / 411.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.3945, allocations: 4 kB / 411.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3945, allocations: 0 / 411.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.543e-05/0.3945, allocations: 15.94 kB / 411.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001996/0.3947, allocations: 169.6 kB / 411.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.3949, allocations: 66.72 kB / 411.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.758e-05/0.395, allocations: 36.89 kB / 411.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.395, allocations: 4 kB / 411.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.395, allocations: 42.5 kB / 411.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.395, allocations: 0 / 411.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.000213/0.3953, allocations: 85.53 kB / 411.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.397e-05/0.3953, allocations: 55.41 kB / 411.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.3955, allocations: 137.8 kB / 411.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.3955, allocations: 29.7 kB / 411.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.288e-05/0.3955, allocations: 84.3 kB / 412 MB, free: 14.65 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.3956, allocations: 15.84 kB / 412 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.3956, allocations: 21.7 kB / 412.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3957, allocations: 318.8 kB / 412.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.137e-05/0.3958, allocations: 7.938 kB / 412.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.3959, allocations: 66.84 kB / 412.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.142e-05/0.396, allocations: 74.75 kB / 412.5 MB, free: 14.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.396, allocations: 0 / 412.5 MB, free: 14.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001408/0.3961, allocations: 85.45 kB / 412.6 MB, free: 14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.3962, allocations: 11.94 kB / 412.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3962, allocations: 0.5625 kB / 412.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.3962, allocations: 8.188 kB / 412.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.53e-05/0.3963, allocations: 19.92 kB / 412.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.3963, allocations: 7.938 kB / 412.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.352e-05/0.3963, allocations: 7.938 kB / 412.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.3964, allocations: 7.984 kB / 412.7 MB, free: 13.93 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.0001008/0.3965, allocations: 125.7 kB / 412.8 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.915e-05/0.3966, allocations: 73.53 kB / 412.9 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/0.3966, allocations: 12.72 kB / 412.9 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3966, allocations: 0 / 412.9 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.3966, allocations: 7.984 kB / 412.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3967, allocations: 3.984 kB / 412.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.3968, allocations: 169.7 kB / 413 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3968, allocations: 0 / 413 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-05/0.3969, allocations: 19.98 kB / 413.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3969, allocations: 3.938 kB / 413.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.3969, allocations: 0 / 413.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3969, allocations: 0 / 413.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3969, allocations: 0 / 413.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.397, allocations: 105 kB / 413.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.201e-05/0.3971, allocations: 100.9 kB / 413.3 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.3971, allocations: 4 kB / 413.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.693e-05/0.3972, allocations: 0 / 413.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.372e-06/0.3972, allocations: 0 / 413.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.3972, allocations: 4 kB / 413.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.054e-05/0.3973, allocations: 106.5 kB / 413.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3973, allocations: 0 / 413.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001975/0.3975, allocations: 8 kB / 413.4 MB, free: 13.1 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.0001315/0.3976, allocations: 103.2 kB / 413.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.3978, allocations: 51.84 kB / 413.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3978, allocations: 0 / 413.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.3978, allocations: 0 / 413.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.3981, allocations: 36.02 kB / 413.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003516/0.3985, allocations: 170.1 kB / 413.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.3988, allocations: 0.7002 MB / 414.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.99e-05/0.3989, allocations: 11.94 kB / 414.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.284e-05/0.3989, allocations: 15.38 kB / 414.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3989, allocations: 0 / 414.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of Templates: time 0.003145/0.4021, allocations: 0.6277 MB / 415.1 MB, free: 11.33 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches