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.001251/0.001251, allocations: 122.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001358/0.001358, allocations: 202 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001295, allocations: 55.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3775, allocations: 50.54 MB / 409.2 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002372/0.3799, allocations: 0.9536 MB / 410.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003845/0.3803, allocations: 115.6 kB / 410.3 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.42e-05/0.3804, allocations: 0 / 410.3 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.962e-05/0.3804, allocations: 3.938 kB / 410.3 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.3806, allocations: 15.92 kB / 410.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.3809, allocations: 31.91 kB / 410.4 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.381, allocations: 47.84 kB / 410.4 MB, free: 472 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.3812, allocations: 12.19 kB / 410.4 MB, free: 456 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.299e-05/0.3812, allocations: 23.86 kB / 410.4 MB, free: 432 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.423e-05/0.3813, allocations: 23.84 kB / 410.5 MB, free: 408 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.3813, allocations: 4 kB / 410.5 MB, free: 404 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.3813, allocations: 4 kB / 410.5 MB, free: 400 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.885e-05/0.3814, allocations: 23.92 kB / 410.5 MB, free: 376 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.423e-05/0.3814, allocations: 23.81 kB / 410.5 MB, free: 352 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.3816, allocations: 55.53 kB / 410.6 MB, free: 300 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3816, allocations: 0 / 410.6 MB, free: 300 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3816, allocations: 0 / 410.6 MB, free: 300 kB / 318.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.3816, allocations: 0 / 410.6 MB, free: 300 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.000482/0.3821, allocations: 375.2 kB / 410.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.3821, allocations: 8.031 kB / 411 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.31e-05/0.3822, allocations: 16.84 kB / 411 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.3824, allocations: 192.2 kB / 411.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.3824, allocations: 4.375 kB / 411.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.3824, allocations: 4.375 kB / 411.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.3827, allocations: 127.8 kB / 411.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.3827, allocations: 11.94 kB / 411.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.3828, allocations: 0 / 411.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.3828, allocations: 0 / 411.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.463e-05/0.3828, allocations: 23.92 kB / 411.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001682/0.383, allocations: 169.6 kB / 411.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.3831, allocations: 62.72 kB / 411.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.433e-05/0.3832, allocations: 40.89 kB / 411.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.3832, allocations: 0 / 411.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.3833, allocations: 34.56 kB / 411.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 2.745e-06/0.3833, allocations: 0 / 411.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002142/0.3835, allocations: 101.6 kB / 411.7 MB, free: 14.97 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/0.3836, allocations: 63.34 kB / 411.8 MB, free: 14.9 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.3837, allocations: 136.3 kB / 411.9 MB, free: 14.76 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.3837, allocations: 25.7 kB / 411.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.513e-05/0.3838, allocations: 88.14 kB / 412 MB, free: 14.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.3838, allocations: 11.98 kB / 412 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.3838, allocations: 17.72 kB / 412.1 MB, free: 14.6 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.384, allocations: 318.8 kB / 412.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.221e-05/0.384, allocations: 7.984 kB / 412.4 MB, free: 14.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.235e-05/0.384, allocations: 58.81 kB / 412.4 MB, free: 14.19 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.154e-05/0.3841, allocations: 78.73 kB / 412.5 MB, free: 14.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.3842, allocations: 0 / 412.5 MB, free: 14.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000123/0.3843, allocations: 85.52 kB / 412.6 MB, free: 14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.3843, allocations: 11.94 kB / 412.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3843, allocations: 320 / 412.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.3843, allocations: 4.25 kB / 412.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.491e-05/0.3844, allocations: 23.92 kB / 412.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.3845, allocations: 4 kB / 412.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.607e-05/0.3845, allocations: 11.89 kB / 412.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.3845, 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 9.175e-05/0.3846, allocations: 125.8 kB / 412.8 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-05/0.3847, allocations: 73.53 kB / 412.9 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.416e-05/0.3848, allocations: 16.7 kB / 412.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3848, allocations: 7.984 kB / 412.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3848, allocations: 0 / 412.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3848, allocations: 4 kB / 412.9 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.3849, allocations: 169.7 kB / 413 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.3849, allocations: 0 / 413 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.035e-05/0.385, allocations: 11.98 kB / 413.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.385, allocations: 7.938 kB / 413.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.385, allocations: 4 kB / 413.1 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.385, allocations: 0 / 413.1 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.385, allocations: 0 / 413.1 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.3852, allocations: 105 kB / 413.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.506e-05/0.3852, allocations: 100.9 kB / 413.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.3853, allocations: 4 kB / 413.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.925e-05/0.3853, allocations: 4.188 kB / 413.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-06/0.3853, allocations: 3.984 kB / 413.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.3853, allocations: 3.938 kB / 413.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.009e-05/0.3854, allocations: 103.3 kB / 413.4 MB, free: 13.1 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3854, allocations: 0 / 413.4 MB, free: 13.1 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002079/0.3856, allocations: 8 kB / 413.4 MB, free: 13.09 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.0001393/0.3857, allocations: 99.25 kB / 413.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001447/0.3859, allocations: 47.86 kB / 413.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.3859, 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.3859, 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.0002925/0.3862, allocations: 42.81 kB / 413.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003518/0.3866, allocations: 161.2 kB / 413.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.3869, allocations: 0.7084 MB / 414.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.988e-05/0.387, allocations: 7.953 kB / 414.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.629e-05/0.387, allocations: 7.438 kB / 414.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.387, allocations: 4 kB / 414.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of Templates: time 0.003009/0.39, allocations: 0.6314 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